You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Better error messages for method argument mismatch and others (#1361)
Better error messages for method argument mismatch, Python to managed value conversion, and other problems.
- Converter.ToManaged obeys setError consistently
- PyObject_Hash and tp_hash return nint
- MakeGenericType and MakeGenericMethod have try/catch
- RaiseTypeError sets __cause__ instead of changing the message string
- PythonException.Normalize throws if an error is set
- AggregateExceptions print better from Python
- For an overloaded method, MethodBinder.Bind collects all binding errors with PythonExceptions as the inner.inner exceptions.
- ExceptionClassObject.tp_str calls Exception.ToString() instead of Exception.Message
(for justification see https://stackoverflow.com/questions/2176707/exception-message-vs-exception-tostring )
- Binding failures always have AggregateException as the cause,
- Disabled test_method_parameters_change
0 commit comments