[issue37076] _thread.start_new_thread(): call sys.unraisablehook() to handle uncaught exceptions

STINNER Victor report at bugs.python.org
Tue May 28 12:49:32 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

I updated my PR description:

_thread.start_new_thread() now logs uncaught exception raised by the
function using sys.unraisablehook(), rather than sys.excepthook(), so
the hook gets access to the function which raised the exception.

----------

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


More information about the Python-bugs-list mailing list