bpo-37076: _thread.start_new_thread() calls _PyErr_WriteUnraisableMsg() by vstinner · Pull Request #13617 · python/cpython

@vstinner

_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.

serhiy-storchaka

@vstinner vstinner deleted the start_new_thread_hook branch

July 15, 2019 11:28

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
…() (pythonGH-13617)

_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.