This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jd
Recipients jd
Date 2020-07-29.15:39:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596037186.46.0.97878619969.issue41435@roundup.psfhosted.org>
In-reply-to
Content
In order to do statistical profiling on raised exception, having the ability to poll all the running threads for their currently handled exception would be fantastic.

There is an exposed function named `sys._current_frames()` that allows to list the current frame handled by CPython. Having an equivalent for `sys._current_exceptions()` that would return the content of `sys.exc_info()` for each running thread would solve the issue.
History
Date User Action Args
2020-07-29 15:39:46jdsetrecipients: + jd
2020-07-29 15:39:46jdsetmessageid: <1596037186.46.0.97878619969.issue41435@roundup.psfhosted.org>
2020-07-29 15:39:46jdlinkissue41435 messages
2020-07-29 15:39:46jdcreate