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.14:39:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588862344.71.0.802771068792.issue40545@roundup.psfhosted.org>
In-reply-to
Content
> Why do you need to specify a `PyThreadState`?

From past issues, I understood that Julien's use case is a profiler which inspects memory without calling functions nor switching to other threads. It's like "dump the state of all Python threads".

I'm fine with exposing _PyErr_GetTopmostException() as a *private* function.  Moreover, the function was already exposed in 3.8. It was not exposed because of the visibility change which was made in 3.9.
History
Date User Action Args
2020-05-07 14:39:04vstinnersetrecipients: + vstinner, scoder, jd, Mark.Shannon
2020-05-07 14:39:04vstinnersetmessageid: <1588862344.71.0.802771068792.issue40545@roundup.psfhosted.org>
2020-05-07 14:39:04vstinnerlinkissue40545 messages
2020-05-07 14:39:03vstinnercreate