FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Dynamic arithmetic ops raise correct Python exception on failure by lostmsu · Pull Request #1508 · pythonnet/pythonnet · GitHub

Dynamic arithmetic ops raise correct Python exception on failure - #1508

Merged
filmor merged 1 commit into
pythonnet:masterfrom
losttech:bugs/Unary_NoError
Aug 9, 2021
Merged

Dynamic arithmetic ops raise correct Python exception on failure#1508
filmor merged 1 commit into
pythonnet:masterfrom
losttech:bugs/Unary_NoError

Conversation

lostmsu commented Aug 5, 2021

Copy link
Copy Markdown
Member

What does this implement/fix? Explain your changes.

Instead, they crashed with ArgumentNullException due to null pointer passed to PyObject constructor. Fixed by adding a check for None.

Does this close any currently open issues?

N/A

Any other comments?

N/A

Checklist

Check all those that are applicable and complete.

  • 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

…n on failure

Instead, they crashed with ArgumentNullException due to null pointer passed to PyObject constructor. Fixed by adding a check for None.
filmor merged commit ec65efe into pythonnet:master Aug 9, 2021
lostmsu deleted the bugs/Unary_NoError branch August 9, 2021 16:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL