This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Carl.Friedrich.Bolz
Recipients Carl.Friedrich.Bolz
Date 2021-02-07.16:26:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612715190.56.0.748623074825.issue43154@roundup.psfhosted.org>
In-reply-to
Content
When using code.InteractiveConsole to implement a Python shell (like PyPy is doing), having a broken sys.excepthook set can crash the console (see attached terminal log). Instead, it should catch errors and report then ignore them (using sys.unraisablehook I would think, but right now it's not that simple to call unraisablehook from python code).

Related to https://bugs.python.org/issue43148
History
Date User Action Args
2021-02-07 16:26:30Carl.Friedrich.Bolzsetrecipients: + Carl.Friedrich.Bolz
2021-02-07 16:26:30Carl.Friedrich.Bolzsetmessageid: <1612715190.56.0.748623074825.issue43154@roundup.psfhosted.org>
2021-02-07 16:26:30Carl.Friedrich.Bolzlinkissue43154 messages
2021-02-07 16:26:30Carl.Friedrich.Bolzcreate