Temporary fix method binder for out parameters by eirannejad · Pull Request #1672 · pythonnet/pythonnet

What does this implement/fix? Explain your changes.

Current method binder code needs cleanup. There is an active issue with pythonnet failing to find the appropriate overload when the method signature includes out parameters e.g. SomeMethod(int a, out int b). Current workaround is to call the method by providing bogus value for the out parameter e.g. SomeMethod(1, 0) instead of SomeMethod(1)

This PR pushes a temporary fix for this problem until the binder code is cleaned up. The change is intentionally minimal.

Does this close any currently open issues?

Not sure. Can not find anything related to this by looking at open issue titles

Any other comments?

No

Checklist

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Add yourself to AUTHORS
  • Updated the CHANGELOG