[issue42877] TracebackException saves more data than it needs
Irit Katriel
report at bugs.python.org
Sat Jan 9 14:11:00 EST 2021
New submission from Irit Katriel <iritkatriel at yahoo.com>:
TracebackException saves both __cause__ and __context__ even though format() ignores the __context__ if there is __cause__.
If we change the constructor to save only what format() needs, it will save space and simplify the code.
----------
components: Library (Lib)
messages: 384738
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: TracebackException saves more data than it needs
type: performance
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42877>
_______________________________________
More information about the Python-bugs-list
mailing list