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 steven.daprano
Recipients gvanrossum, iritkatriel, steven.daprano, vstinner
Date 2020-11-27.11:54:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606478089.99.0.363062863965.issue42482@roundup.psfhosted.org>
In-reply-to
Content
This would be a change of behaviour, and 3.8 and 3.9 are in feature freeze, so we could only add it in 3.10.

You say:

"it's supposed to capture the output without holding references to real things"

Is this requirement documented somewhere, or is it just your preference?

"it makes comparison wrong for equivalent exceptions"

If the tracebacks are different, they're not exactly 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?
History
Date User Action Args
2020-11-27 11:54:50steven.dapranosetrecipients: + steven.daprano, gvanrossum, vstinner, iritkatriel
2020-11-27 11:54:49steven.dapranosetmessageid: <1606478089.99.0.363062863965.issue42482@roundup.psfhosted.org>
2020-11-27 11:54:49steven.dapranolinkissue42482 messages
2020-11-27 11:54:49steven.dapranocreate