[issue37526] Add support.catch_threading_exception()
STINNER Victor
report at bugs.python.org
Tue Jul 9 06:26:30 EDT 2019
New submission from STINNER Victor <vstinner at redhat.com>:
bpo-1230540 added threading.excepthook() to handle "uncaught exceptions raised by Thread.run()".
I propose to add support.catch_threading_exception(): context manager to ease catching these exceptions.
Attached PR implements it.
----------
components: Tests
messages: 347540
nosy: vstinner
priority: normal
severity: normal
status: open
title: Add support.catch_threading_exception()
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37526>
_______________________________________
More information about the Python-bugs-list
mailing list