[issue17911] traceback: add a new thin class storing a traceback without storing local variables
Robert Collins
report at bugs.python.org
Wed Feb 4 00:28:49 CET 2015
Robert Collins added the comment:
This iteration provides two constructors for TracebackException, one for exception objects, one for exc_info tuples. So it should be easy to use.
The __init__ takes the exc_info tuple because thats less code (much easier to destructure rather than restructure), but in the docs and docstrings I point to the classmethods, which includes from_exception - that takes a single exception object.
----------
Added file: http://bugs.python.org/file38007/issue17911-4.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17911>
_______________________________________
More information about the Python-bugs-list
mailing list