New submission from Irit Katriel <iritkatr...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42877>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to