8000 Creating a C# Nullable Int32 within Python (using Python.NET) to call a C# method with an optional int argument · Issue #59 · pythonnet/pythonnet · GitHub
[go: up one dir, main page]

Skip to content

Creating a C# Nullable Int32 within Python (using Python.NET) to call a C# method with an optional int argument #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
den-run-ai opened this issue Jan 11, 2015 · 2 comments · Fixed by #460

Comments

@den-run-ai
Copy link
Contributor

http://stackoverflow.com/questions/26742837

@lcorrigan
Copy link

Is this just a matter of implementing the fix that is on the stack overflow question above? Or did someone investigate and find this causes other issues etc?

@den-run-ai
8000 Copy link
Contributor Author

@lcorrigan feel free to submit a pull request with a test code and implementation based on that answer.

Here is where the code should go:

twastvedt added a commit to autodesk-forks/pythonnet that referenced this issue Mar 17, 2025
* Add a test for the bug

* Revert parts of commit 954191b to pass test (now fails tests added in that commit)

* Add some tests

* Only store members which are not hidden in a derived class or interface.

* Comment

* Comment

* Changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0