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

Nick Coghlan report at bugs.python.org
Thu Feb 5 23:18:10 CET 2015


Nick Coghlan added the comment:

I think in this case, the fact that it's easier to decompose an exception
into the corresponding triple rather than vice-versa, together with the
fact that other exception state manipulation APIs like exc_info() and
__exit__() methods work with triples, means it makes sense to accept the
triple as the base constuctor API, and then have the convenience method to
destructure a caught exception.

----------

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


More information about the Python-bugs-list mailing list