[Python-Dev] Reference cycles in Exception.__traceback__
Antoine Pitrou
solipsis at pitrou.net
Thu Mar 6 14:42:44 CET 2014
Le 05/03/2014 23:53, Nick Coghlan a écrit :
>
> __traceback__ wouldn't change [...]
Uh, really? If you want to suppress all reference cycles, you *have* to
remove __traceback__.
The problem is to make computation of the traceback summary lightweight
enough that it doesn't degrade performance in the common case where you
don't have to print the traceback later.
Regards
Antoine.
More information about the Python-Dev
mailing list