Message381959
I consider PR 23531 change as a bugfix and IMO it's fine to backport it.
TracebackException docstring is quite explicit:
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.
This issue shows that there was a bug in the implementation.
--
The unit test should check the ref count of the exception and the exception traceback, to check functionally that no strong reference is hold. |
|
Date |
User |
Action |
Args |
2020-11-27 19:31:00 | vstinner | set | recipients:
+ vstinner, gvanrossum, eric.smith, steven.daprano, iritkatriel |
2020-11-27 19:31:00 | vstinner | set | messageid: <1606505460.04.0.248340548109.issue42482@roundup.psfhosted.org> |
2020-11-27 19:31:00 | vstinner | link | issue42482 messages |
2020-11-27 19:30:59 | vstinner | create | |
|