Terry J. Reedy <tjre...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue43154> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com