[issue1565525] gc allowing tracebacks to eat up memory

Greg Hazel report at bugs.python.org
Wed Jan 14 02:19:15 CET 2009


Greg Hazel <ghazel at users.sourceforge.net> added the comment:

STINNER Victor> Do you need the original traceback? Why not only raising 
the exception?

If the exception was captured in one stack, and is being re-raised in 
another. It would be more useful to see the two stacks appended instead 
of just the place where it was re-raised (or the place where it was 
raised initially, which is what a string would get you - not to mention 
the inability to catch it).

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1565525>
_______________________________________


More information about the Python-bugs-list mailing list