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 serhiy.storchaka
Recipients jd, serhiy.storchaka
Date 2020-08-03.08:10:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596442212.32.0.0421586912961.issue41435@roundup.psfhosted.org>
In-reply-to
Content
Would not be more useful to add a method to the Thread or frame object to obtain the topmost handled exception? Then you could iterate all threads or frames and obtain exceptions together with other useful information.

Note also that it omits exceptions in generators and coroutines.
History
Date User Action Args
2020-08-03 08:10:12serhiy.storchakasetrecipients: + serhiy.storchaka, jd
2020-08-03 08:10:12serhiy.storchakasetmessageid: <1596442212.32.0.0421586912961.issue41435@roundup.psfhosted.org>
2020-08-03 08:10:12serhiy.storchakalinkissue41435 messages
2020-08-03 08:10:12serhiy.storchakacreate