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

Antoine Pitrou report at bugs.python.org
Tue Jan 27 00:22:14 CET 2015


Antoine Pitrou added the comment:

> In this view, __traceback__ is primarily about accessing *chained*
> tracebacks

Please let's not make up sophistic arguments when the only motivation for triples is backwards compatibility of *existing* APIs.

Exception triples are an unnecessary bother in Python 3. This new API should accept exception instances primarily. Accepting triples as well is ok but it shouldn't be made the only possibility.

----------

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


More information about the Python-bugs-list mailing list