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 vstinner
Date 2021-02-19.13:30:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613741420.83.0.752004390595.issue43270@roundup.psfhosted.org>
In-reply-to
Content
> #define _PyErr_OCCURRED() (PyThreadState_GET()->curexc_type)

But this way, this macro access directly the PyThreadState.curexc_type member which goes against the bpo-39947 "[C API] Make the PyThreadState structure opaque (move it to the internal C API)" issue.
History
Date User Action Args
2021-02-19 13:30:20vstinnersetrecipients: + vstinner
2021-02-19 13:30:20vstinnersetmessageid: <1613741420.83.0.752004390595.issue43270@roundup.psfhosted.org>
2021-02-19 13:30:20vstinnerlinkissue43270 messages
2021-02-19 13:30:20vstinnercreate