[issue1230540] sys.excepthook doesn't work in threads

STINNER Victor report at bugs.python.org
Wed May 22 20:43:09 EDT 2019


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

I dislike PR 8610: threading.Thread doesn't call sys.excepthook to handle run() exception by default, it only calls sys.excepthook if it's overridden. Moreover, when sys.excepthook is called, the hook doesn't get access to the thread object :-(

----------

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


More information about the Python-bugs-list mailing list