[issue43154] code.InteractiveConsole can crash if sys.excepthook is broken

Terry J. Reedy report at bugs.python.org
Fri Apr 2 18:33:56 EDT 2021


Terry J. Reedy <tjreedy at udel.edu> added the comment:

code.InteractiveInterpreter handles SyntaxErrors separately in showsyntaxerror rather than showtraceback.  The same problem arises with a bad excepthook in line 129.

----------

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


More information about the Python-bugs-list mailing list