You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reworked PythonException to simplify memory management, and enable .NET interop
New method ThrowLastAsClrException should be used everywhere instead of obsolete PythonException constructor. It automatically restores .NET exceptions, and applies codecs for Python exceptions.
Traceback, PyVal and PyType are now stored and returned as PyObjects.
PythonException now has InnerException set from its cause (e.g. __cause__ in Python, if any).
PythonException.Restore no longer clears the exception instance.
All helper methods were removed from public API surface.
0 commit comments