This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients gvanrossum, iritkatriel, steven.daprano, vstinner
Date 2020-11-27.12:05:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606478740.34.0.354671249866.issue42482@roundup.psfhosted.org>
In-reply-to
Content
From the TracebackException docstring:

"The traceback module captures enough attributes from the original exception to this intermediary form to ensure that no references are held, while still being able to fully print or format it."

> If the tracebacks are different, they're not exactly equivalent.

The formatted form is identical, so from TracebackException's POV they are equivalent. 

> If we did accept this patch, would that mean there would no longer be any need to delete the exception variable at the end of an `except` block?

No, it's not related to that.
History
Date User Action Args
2020-11-27 12:05:40iritkatrielsetrecipients: + iritkatriel, gvanrossum, vstinner, steven.daprano
2020-11-27 12:05:40iritkatrielsetmessageid: <1606478740.34.0.354671249866.issue42482@roundup.psfhosted.org>
2020-11-27 12:05:40iritkatriellinkissue42482 messages
2020-11-27 12:05:40iritkatrielcreate