Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.
What does this implement/fix? Explain your changes.
Addresses an issue with the generic binding implementation that would cause PythonNet to crash when supplying a PyType in the args.
Instead of using the PythonArgsToTypeArray() which relies on the PyType being defined in RunTime we just used the already converted args from the method binder (margs), and extract their types in ResolveGenericMethod.
Also address a small issue with using py datetime.date objects in place of C# DateTime args.
...
Does this close any currently open issues?
N/A
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.
[x] Make sure to include one or more tests for your change
[x] If an enhancement PR, please create docs and at best an example
What does this implement/fix? Explain your changes.
Addresses an issue with the generic binding implementation that would cause PythonNet to crash when supplying a PyType in the args.
Instead of using the
PythonArgsToTypeArray()
which relies on the PyType being defined in RunTime we just used the already converted args from the method binder (margs
), and extract their types inResolveGenericMethod
.Also address a small issue with using py datetime.date objects in place of C# DateTime args.
...
Does this close any currently open issues?
N/A
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.
AUTHORS
CHANGELOG