Better error messages for method argument mismatch and others by tminka · Pull Request #1361 · pythonnet/pythonnet

@tminka mentioned this pull request

Jan 21, 2021

4 tasks

lostmsu

lostmsu

lostmsu

@tminka

… 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

lostmsu

@tminka

AggregateExceptions print better from Python
For an overloaded method, MethodBinder.Bind collects all binding errors

lostmsu

lostmsu

lostmsu

@tminka tminka deleted the error-messages branch

January 27, 2021 22:05