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 seberg, vstinner
Date 2020-06-19.14:59:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592578763.22.0.188432886338.issue41037@roundup.psfhosted.org>
In-reply-to
Content
Such function already exists in the master branch, but it's only part of the internal C API:

PyAPI_FUNC(int) _PyOS_InterruptOccurred(PyThreadState *tstate);

Currently, the C API design is to always requires to hold the GIL.
History
Date User Action Args
2020-06-19 14:59:23vstinnersetrecipients: + vstinner, seberg
2020-06-19 14:59:23vstinnersetmessageid: <1592578763.22.0.188432886338.issue41037@roundup.psfhosted.org>
2020-06-19 14:59:23vstinnerlinkissue41037 messages
2020-06-19 14:59:23vstinnercreate