PythonTypeName property added to the PythonException object.#597
Merged
den-run-ai merged 4 commits intopythonnet:masterfrom Feb 10, 2018
Merged
PythonTypeName property added to the PythonException object.#597den-run-ai merged 4 commits intopythonnet:masterfrom
den-run-ai merged 4 commits intopythonnet:masterfrom
Conversation
den-run-ai
approved these changes
Jan 31, 2018
filmor
approved these changes
Feb 6, 2018
Codecov Report
@@ Coverage Diff @@
## master #597 +/- ##
=========================================
+ Coverage 75.09% 76.99% +1.9%
=========================================
Files 60 64 +4
Lines 5480 5612 +132
Branches 864 888 +24
=========================================
+ Hits 4115 4321 +206
+ Misses 1064 1002 -62
+ Partials 301 289 -12
Continue to review full report at Codecov.
|
Contributor
|
@dmitriyse you can merge this once CI is complete |
Contributor
|
@dmitriyse this PR getting CI issues for anything except Python 3.6 due to API change: https://travis-ci.org/pythonnet/pythonnet/jobs/338923690#L2119 probably instead we need to check based on subclass, not string comparison: issubclass(ModuleNotFoundError, ImportError) https://docs.python.org/3/library/exceptions.html#ModuleNotFoundError |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this implement/fix? Explain your changes.
Introduced the new property "PythonTypeName" in the PythonException class.
It's very useful in scenarios when PythonException python type should be determined after a GIL lock has been released.
...
Does this close any currently open issues?
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.
AUTHORSCHANGELOG