[issue17911] traceback: add a new thin class storing a traceback without storing local variables

Antoine Pitrou report at bugs.python.org
Mon Jan 26 14:38:35 CET 2015


Antoine Pitrou added the comment:

> tb = TracebackException(*sys.exc_info, lookup_lines=False)

You don't need an exception tuple in Python 3, the exception instance is enough.

----------

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


More information about the Python-bugs-list mailing list