[issue36666] threading.Thread should have way to catch an exception thrown within

STINNER Victor report at bugs.python.org
Tue Sep 22 10:48:19 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

I consider that this issue as a duplicate of bpo-1230540. Python 3.8 has a new threading.excepthook hook which can be used in various ways to decide how to handle uncatched thread exceptions.

https://docs.python.org/dev/library/threading.html#threading.excepthook

----------
nosy: +vstinner
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Add threading.excepthook() to handle uncaught exceptions raised by Thread.run()

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


More information about the Python-bugs-list mailing list