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

STINNER Victor report at bugs.python.org
Sat May 25 19:40:02 EDT 2019


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

Antoine Pitrou:
> A Thread.excepthook() method does not allow to notify exceptions raised in C-created threads ("dummy threads").

I modified my PR to use the threading identitifer (threading.get_ident()) as the thread name if args.thread is None.

----------

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


More information about the Python-bugs-list mailing list