-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
gh-81057: Move Threading-Related Globals to _PyRuntimeState #100084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-81057: Move Threading-Related Globals to _PyRuntimeState #100084
Conversation
ericsnowcurrently
commented
Dec 7, 2022
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: [subinterpreters] Global C variables are a problem #81057
✅ Deploy Preview for python-cpython-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
f2399f9
to
f05396b
Compare
How about changing the thread initializer |
It's called when the GIL is created, which is already a part of initializing the main interpreter. Perhaps I misunderstood what you meant? |
🤖 New build scheduled with the buildbot fleet by @ericsnowcurrently for commit f05396b 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
f05396b
to
3c22543
Compare
This change broke the wasm32-wasi 3.x buildbot: https://buildbot.python.org/all/#/builders/1046/builds/1051 |
I'll look into it. |