Skip to content

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commented Dec 7, 2022

@netlify
Copy link

netlifybot commented Dec 7, 2022

Deploy Preview for python-cpython-preview ready!

NameLink
🔨 Latest commit3c22543
🔍 Latest deploy loghttps://app.netlify.com/sites/python-cpython-preview/deploys/6392802b0234d300086d75f9
😎 Deploy Previewhttps://deploy-preview-100084--python-cpython-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@kumaraditya303
Copy link
Contributor

How about changing the thread initializer PyThread_init_thread to be always called on startup? It will eliminate these globals altogether be threadsafe so will help in per interpreter GIL too.

@ericsnowcurrently
Copy link
MemberAuthor

ericsnowcurrently commented Dec 8, 2022

It's called when the GIL is created, which is already a part of initializing the main interpreter. Perhaps I misunderstood what you meant?

@ericsnowcurrentlyericsnowcurrently added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Dec 8, 2022
@bedevere-bot
Copy link

🤖 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.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Dec 8, 2022
@ericsnowcurrentlyericsnowcurrentlyforce-pushed the consolidate-threading-globals branch from f05396b to 3c22543CompareDecember 9, 2022 00:24
@ericsnowcurrentlyericsnowcurrently merged commit 1160001 into python:mainDec 9, 2022
@ericsnowcurrentlyericsnowcurrently deleted the consolidate-threading-globals branch December 9, 2022 00:51
@vstinner
Copy link
Member

This change broke the wasm32-wasi 3.x buildbot: https://buildbot.python.org/all/#/builders/1046/builds/1051

@ericsnowcurrently
Copy link
MemberAuthor

I'll look into it.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@ericsnowcurrently@kumaraditya303@bedevere-bot@vstinner