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

Nick Coghlan report at bugs.python.org
Fri Feb 6 09:34:55 CET 2015


Nick Coghlan added the comment:

It's genuinely user hostile, as the "from_exc_tuple" version is entirely
redundant, and folks using pydoc to discover the API won't know they
"shouldn't" use the constructor directly.

That means both forms will get used, but only one will be documented. When
people ask why a second spelling for the lower level API was added, "to
make it look like it exists at the same level as the higher level
convenience API" isn't going to be a satisfying explanation.

----------

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


More information about the Python-bugs-list mailing list