[issue30384] traceback.TracebackException.format shouldn't format_exc_only() when __traceback__ is None
Irit Katriel
report at bugs.python.org
Wed Nov 4 16:47:01 EST 2020
Irit Katriel <iritkatriel at yahoo.com> added the comment:
__traceback__ doesn't disable printing tracebacks. It *is* the traceback. By setting it to None you erased the exception's traceback.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30384>
_______________________________________
More information about the Python-bugs-list
mailing list