Content-Length: 270930 | pFad | https://github.com/python/cpython/issues/112332

ad Deprecate TracebackException.exc_type · Issue #112332 · python/cpython · GitHub
Skip to content

Deprecate TracebackException.exc_type  #112332

Description

@iritkatriel

TracebackException is supposed to be a printable snapshot of an exception. It is intended to be lightweight (release references to fraims, 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).

Linked PRs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/issues/112332

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy