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 vstinner
Recipients Mark.Shannon, jd, scoder, vstinner
Date 2020-05-07.13:50:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588859454.13.0.586362953247.issue40545@roundup.psfhosted.org>
In-reply-to
Content
> I would definitely love to have a public API for this.

I'm not sure if it's a good idea. It's kind of semi-internal.

Stephan Behnel and Mark Shannon: What do you think of exposing PyThreadState exception stack (exc_state)? Especially the "top" exception. If I recall correctly, Mark designed it and Stephan "reimplemented" it in Cython.

I also recall a minor issue in greenlet:
https://github.com/python-greenlet/greenlet/pull/132
History
Date User Action Args
2020-05-07 13:50:54vstinnersetrecipients: + vstinner, scoder, jd, Mark.Shannon
2020-05-07 13:50:54vstinnersetmessageid: <1588859454.13.0.586362953247.issue40545@roundup.psfhosted.org>
2020-05-07 13:50:54vstinnerlinkissue40545 messages
2020-05-07 13:50:53vstinnercreate