René's URL Explorer Experiment


Title: gh-81057: Move Threading-Related Globals to _PyRuntimeState by ericsnowcurrently · Pull Request #100084 · python/cpython · GitHub

Open Graph Title: gh-81057: Move Threading-Related Globals to _PyRuntimeState by ericsnowcurrently · Pull Request #100084 · python/cpython

X Title: gh-81057: Move Threading-Related Globals to _PyRuntimeState by ericsnowcurrently · Pull Request #100084 · python/cpython

Description: Issue: [subinterpreters] Global C variables are a problem #81057

Open Graph Description: Issue: [subinterpreters] Global C variables are a problem #81057

X Description: Issue: [subinterpreters] Global C variables are a problem #81057

Opengraph URL: https://github.com/python/cpython/pull/100084

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8a752668-d8f4-26cb-81d6-5e506368d0c7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE74E:2F2BA7:8B621:BDABA:69696138
html-safe-nonce623165da3d17643185a1fb0a73777750ec05bcad1031d9392e15bba42ea410b8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzRFOjJGMkJBNzo4QjYyMTpCREFCQTo2OTY5NjEzOCIsInZpc2l0b3JfaWQiOiI2ODMyNTQ5NjQ0MDA5NTYyNDI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace3a5b1c89aabe0d3a1b3805be64cc0f0105e7e21a5b5a1262992a7cdeaf1683e
hovercard-subject-tagpull_request:1152030316
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/100084/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/20fdd00025678d868bbc1337f254b7d576d7b7ec2463fca41eca99f9abe698aa/python/cpython/pull/100084
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/20fdd00025678d868bbc1337f254b7d576d7b7ec2463fca41eca99f9abe698aa/python/cpython/pull/100084
og:image:altIssue: [subinterpreters] Global C variables are a problem #81057
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
None48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release669463fcc54773a88c1f5a44eef6b99a5504b9c7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/100084#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100084
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100084
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/100084
Reloadhttps://github.com/python/cpython/pull/100084
Reloadhttps://github.com/python/cpython/pull/100084
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/100084
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/100084
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/100084#issue-comment-box
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:consolidate-threading-globalshttps://github.com/ericsnowcurrently/cpython/tree/consolidate-threading-globals
gh-81057: Move Threading-Related Globals to _PyRuntimeState https://github.com/python/cpython/pull/100084#top
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:consolidate-threading-globalshttps://github.com/ericsnowcurrently/cpython/tree/consolidate-threading-globals
Conversation 6 https://github.com/python/cpython/pull/100084
Commits 8 https://github.com/python/cpython/pull/100084/commits
Checks 0 https://github.com/python/cpython/pull/100084/checks
Files changed https://github.com/python/cpython/pull/100084/files
Please reload this pagehttps://github.com/python/cpython/pull/100084
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Dec 7, 2022https://github.com/python/cpython/pull/100084#issue-1482422731
Please reload this pagehttps://github.com/python/cpython/pull/100084
[subinterpreters] Global C variables are a problem #81057https://github.com/python/cpython/issues/81057
Please reload this pagehttps://github.com/python/cpython/pull/100084
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Dec 7, 2022https://github.com/python/cpython/pull/100084#event-7980153880
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
code ownerhttps://github.com/python/cpython/blob/68e41295b8611a990de68f15c89f1eb3dea51867/.github/CODEOWNERS#L115
December 7, 2022 17:17https://github.com/python/cpython/pull/100084#event-7980153960
https://github.com/apps/netlify
netlifyhttps://github.com/apps/netlify
Dec 7, 2022https://github.com/python/cpython/pull/100084#issuecomment-1341304003
Please reload this pagehttps://github.com/python/cpython/pull/100084
3c22543https://github.com/python/cpython/commit/3c2254336d21bcbd9b8eb4aef9cacee706213ed1
https://app.netlify.com/sites/python-cpython-preview/deploys/6392802b0234d300086d75f9https://app.netlify.com/sites/python-cpython-preview/deploys/6392802b0234d300086d75f9
https://deploy-preview-100084--python-cpython-preview.netlify.apphttps://deploy-preview-100084--python-cpython-preview.netlify.app
https://camo.githubusercontent.com/b596976a3a67ceae7e77598bdf23ae6d28486aab44c124d3a03d1e8fb051ea51/68747470733a2f2f6170702e6e65746c6966792e636f6d2f71722d636f64652f65794a30655841694f694a4b563151694c434a68624763694f694a49557a49314e694a392e65794a31636d77694f694a6f64485277637a6f764c32526c6347787665533177636d5632615756334c5445774d4441344e43307463486c30614739754c574e776558526f6232347463484a6c646d6c6c647935755a58527361575a354c6d467763434a392e584e73526e56394e4e505f42446847687874694e323452793074726e3336427966595f7749585030766473
Netlify site settingshttps://app.netlify.com/sites/python-cpython-preview/settings/deploys#deploy-notifications
Please reload this pagehttps://github.com/python/cpython/pull/100084
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 7, 2022 https://github.com/python/cpython/pull/100084#ref-issue-1199011689
[subinterpreters] Global C variables are a problem #81057 https://github.com/python/cpython/issues/81057
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 7, 2022https://github.com/python/cpython/pull/100084#event-7980155454
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
December 7, 2022 17:17https://github.com/python/cpython/pull/100084#event-7980155661
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
force-pushedhttps://github.com/python/cpython/compare/f2399f9e3ac6693b323ec1988388f154c23cf0c6..f05396b7bb69f3a0fcc17a4d55eaec145a840d7d
f2399f9https://github.com/python/cpython/commit/f2399f9e3ac6693b323ec1988388f154c23cf0c6
f05396bhttps://github.com/python/cpython/commit/f05396b7bb69f3a0fcc17a4d55eaec145a840d7d
Compare https://github.com/python/cpython/compare/f2399f9e3ac6693b323ec1988388f154c23cf0c6..f05396b7bb69f3a0fcc17a4d55eaec145a840d7d
December 8, 2022 01:34https://github.com/python/cpython/pull/100084#event-7983690687
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Dec 8, 2022https://github.com/python/cpython/pull/100084#issuecomment-1342227379
Please reload this pagehttps://github.com/python/cpython/pull/100084
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Dec 8, 2022https://github.com/python/cpython/pull/100084#issuecomment-1342962329
Please reload this pagehttps://github.com/python/cpython/pull/100084
Please reload this pagehttps://github.com/python/cpython/pull/100084
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Dec 8, 2022https://github.com/python/cpython/pull/100084#event-7993094579
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 8, 2022https://github.com/python/cpython/pull/100084#issuecomment-1343374445
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
f05396bhttps://github.com/python/cpython/commit/f05396b7bb69f3a0fcc17a4d55eaec145a840d7d
Please reload this pagehttps://github.com/python/cpython/pull/100084
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Dec 8, 2022https://github.com/python/cpython/pull/100084#event-7993094824
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
December 8, 2022 17:18https://github.com/python/cpython/pull/100084#commits-pushed-8e7ea36
https://github.com/ericsnowcurrently
Add pycore_pythread.h.https://github.com/python/cpython/pull/100084/commits/8e7ea36b3f45350f5dfffff42b62abbe419e6f5d
8e7ea36https://github.com/python/cpython/pull/100084/commits/8e7ea36b3f45350f5dfffff42b62abbe419e6f5d
https://github.com/ericsnowcurrently
Add PyThread__init_thread():lib_initialized.https://github.com/python/cpython/pull/100084/commits/96161232d83da1eeafd9a61a527232b64a2721c3
9616123https://github.com/python/cpython/pull/100084/commits/96161232d83da1eeafd9a61a527232b64a2721c3
https://github.com/ericsnowcurrently
Move thread.c:initialized to _PyRuntimeState.https://github.com/python/cpython/pull/100084/commits/09fc5578f81417bb0b7d6d88c811bd8f1d7429ca
09fc557https://github.com/python/cpython/pull/100084/commits/09fc5578f81417bb0b7d6d88c811bd8f1d7429ca
https://github.com/ericsnowcurrently
Move some macros into pycore_pythread.h.https://github.com/python/cpython/pull/100084/commits/649062ae50a6282900d19a90a4c08cccbba1ea02
649062ahttps://github.com/python/cpython/pull/100084/commits/649062ae50a6282900d19a90a4c08cccbba1ea02
https://github.com/ericsnowcurrently
Move condattr_monotonic to _PyRuntimeState.https://github.com/python/cpython/pull/100084/commits/0a5106cfc56e096e12631fabf8517245f30c8bae
0a5106chttps://github.com/python/cpython/pull/100084/commits/0a5106cfc56e096e12631fabf8517245f30c8bae
https://github.com/ericsnowcurrently
Move init_condattr():ca to _PyRuntimeState.https://github.com/python/cpython/pull/100084/commits/9d7feb7baa5d771b6ce182a6f74e5481e707c7a5
9d7feb7https://github.com/python/cpython/pull/100084/commits/9d7feb7baa5d771b6ce182a6f74e5481e707c7a5
https://github.com/ericsnowcurrently
Move py_tls_entries to _PyRuntimeState.https://github.com/python/cpython/pull/100084/commits/f606c667b9ff104e0f28e81412d0b55ff96709d6
f606c66https://github.com/python/cpython/pull/100084/commits/f606c667b9ff104e0f28e81412d0b55ff96709d6
https://github.com/ericsnowcurrently
Clarify the macro.https://github.com/python/cpython/pull/100084/commits/3c2254336d21bcbd9b8eb4aef9cacee706213ed1
3c22543https://github.com/python/cpython/pull/100084/commits/3c2254336d21bcbd9b8eb4aef9cacee706213ed1
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
force-pushedhttps://github.com/python/cpython/compare/f05396b7bb69f3a0fcc17a4d55eaec145a840d7d..3c2254336d21bcbd9b8eb4aef9cacee706213ed1
f05396bhttps://github.com/python/cpython/commit/f05396b7bb69f3a0fcc17a4d55eaec145a840d7d
3c22543https://github.com/python/cpython/commit/3c2254336d21bcbd9b8eb4aef9cacee706213ed1
Compare https://github.com/python/cpython/compare/f05396b7bb69f3a0fcc17a4d55eaec145a840d7d..3c2254336d21bcbd9b8eb4aef9cacee706213ed1
December 9, 2022 00:24https://github.com/python/cpython/pull/100084#event-7994072527
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
1160001https://github.com/python/cpython/commit/1160001b34615066b1188d5fb457131b1ebb928d
Dec 9, 2022https://github.com/python/cpython/pull/100084#event-7994210871
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 9, 2022https://github.com/python/cpython/pull/100084#event-7994211143
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
December 9, 2022 00:51https://github.com/python/cpython/pull/100084#event-7994211181
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 9, 2022https://github.com/python/cpython/pull/100084#issuecomment-1343999901
https://buildbot.python.org/all/#/builders/1046/builds/1051https://buildbot.python.org/all/#/builders/1046/builds/1051
Please reload this pagehttps://github.com/python/cpython/pull/100084
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Dec 9, 2022https://github.com/python/cpython/pull/100084#issuecomment-1344479738
Please reload this pagehttps://github.com/python/cpython/pull/100084
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Dec 9, 2022 https://github.com/python/cpython/pull/100084#ref-pullrequest-1487057486
gh-81057: Fix the wasm32-wasi Buildbot #100139 https://github.com/python/cpython/pull/100139
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Dec 9, 2022 https://github.com/python/cpython/pull/100084#ref-commit-8d0bd93
https://github.com/ericsnowcurrently
gh-81057https://github.com/python/cpython/issues/81057
: Fix the wasm32-wasi Buildbot (https://github.com/python/cpython/commit/8d0bd93ae28299f9b2cd11d3dd1a49599b62430a
gh-100139https://github.com/python/cpython/pull/100139
)https://github.com/python/cpython/commit/8d0bd93ae28299f9b2cd11d3dd1a49599b62430a
8d0bd93https://github.com/python/cpython/commit/8d0bd93ae28299f9b2cd11d3dd1a49599b62430a
gh-100084https://github.com/python/cpython/pull/100084
#81057https://github.com/python/cpython/issues/81057
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100084
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/100084
https://github.com/ericsnowcurrently
https://github.com/kumaraditya303
https://github.com/bedevere-bot
https://github.com/vstinner
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.