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

Antoine Pitrou report at bugs.python.org
Fri Feb 6 13:43:39 CET 2015


Antoine Pitrou added the comment:

Le 06/02/2015 09:34, Nick Coghlan a écrit :
> 
> 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.

Using pydoc isn't generally a successful way of discovering an API. It
shows you too many details that don't matter. Besides our docstrings are
much terser and less informative than the Sphinx doc.

pydoc is useful mostly as a Python-specific "man" command: you know
something exists, just want to remember the details.

----------

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


More information about the Python-bugs-list mailing list