bpo-37076: _thread.start_new_thread() calls _PyErr_WriteUnraisableMsg() by vstinner · Pull Request #13617 · python/cpython
_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.
vstinner
deleted the
start_new_thread_hook
branch
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters