Antoine Pitrou <[email protected]> added the comment:
A Thread.excepthook() method does not allow to notify exceptions raised in
C-created threads ("dummy threads").
Also, as I said already, you can get the current thread by calling
threading.current_thread() in the except hook. There is no need to pass it
explicitly to the except hook.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue1230540>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com