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 2020-05-05.17:12:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
_PyThreadState_GET() gets the current Python thread state from _PyRuntime.gilstate.tstate_current atomic variable.

When I experimented per-interpreter GIL (bpo-40512), I got issues with _PyThreadState_GET() which didn't return the expected Python thread state.

I propose to modify _PyThreadState_GET() in the exprimental isolated subinterpreters mode to get and set the current Python thread state using a Thread Local Storage: autoTSSkey.
Date User Action Args
2020-05-05 17:12:14vstinnersetrecipients: + vstinner
2020-05-05 17:12:14vstinnersetmessageid: <>
2020-05-05 17:12:14vstinnerlinkissue40522 messages
2020-05-05 17:12:14vstinnercreate