[issue39228] traceback.FrameSummary does not handle exceptions from `repr()`

Irit Katriel report at bugs.python.org
Fri May 7 14:27:48 EDT 2021


Irit Katriel <iritkatriel at yahoo.com> added the comment:

I think pdb is a different story because it's an interactive application rather than a library. pdb can decide that it prints an error to the screen and returns to the interactive prompt, if that is appropriate. The functions of the traceback module don't have application context telling them what they should do with an exception.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39228>
_______________________________________


More information about the Python-bugs-list mailing list