- Notifications
You must be signed in to change notification settings - Fork752
Added IsNone() and GetPyNone()#1137
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
dnfclas commentedMay 10, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I have no idea how to add a test and the change is so small that it doesn't really need documentation. |
I completely get the |
@filmor re: Though as a static property (and I don't see why it should not be a property). |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
…ss it into Python from .NET
You might wanna squash this PR into a single commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks good! Thank you!
Thank you :) |
* Add `PyObject.IsNone()`* Add `Runtime.None` which returns a reference to `None` as a `PyObject` to be able to pass it into Python from .NET
Uh oh!
There was an error while loading.Please reload this page.
What does this implement/fix? Explain your changes.
IsNone() and GetPyNone() were needed for Numpy.NET to be able to find out if a PyObject is none.
Does this close any currently open issues?
No.
Any other comments?
These are in use for a long time now, I just now figured out how to PR them. I'll commit the necessary things from the checklist below.
Checklist
Check all those that are applicable and complete.
AUTHORS
CHANGELOG