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
TracebackException is supposed to be a printable snapshot of an exception. It is intended to be lightweight (release references to frames, etc) and easily serialised.
Since the exc_type field is causing issues for subinterpreters, I suggest we deprecate it and replace it with a snapshot of the type.
Until removed, we can have an arg to optionally not save it (which can be used by subinterpreters).
Activity
pythongh-112332: save snapshot of exc_type in TracebackException. Add…
gh-112332: Deprecate TracebackException.exc_type, add exc_type_str. (#…
pythongh-112332: Deprecate TracebackException.exc_type, add exc_type_…
pythongh-112332: Deprecate TracebackException.exc_type, add exc_type_…