René's URL Explorer Experiment


Title: gh-115999: Specialize `LOAD_GLOBAL` in free-threaded builds by mpage · Pull Request #126607 · python/cpython · GitHub

Open Graph Title: gh-115999: Specialize `LOAD_GLOBAL` in free-threaded builds by mpage · Pull Request #126607 · python/cpython

X Title: gh-115999: Specialize `LOAD_GLOBAL` in free-threaded builds by mpage · Pull Request #126607 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Enable specialization of LOAD_GLOBAL in free-threaded builds. Thread-safety of specialization in free-threaded builds is provided by the following: A critical section is held on both the globals a...

X Description: Enable specialization of LOAD_GLOBAL in free-threaded builds. Thread-safety of specialization in free-threaded builds is provided by the following: A critical section is held on both the globals a...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:97ba2e67-81c9-a592-a4d2-d2846ff2bda0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9DFA:70B04:D0D6D4:119942D:6A56AD26
html-safe-nonce34dd6a7b45edb836a4cf3d157c19c4f7d97e21d237aa1effc3b0474a0d3f6e75
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REZBOjcwQjA0OkQwRDZENDoxMTk5NDJEOjZBNTZBRDI2IiwidmlzaXRvcl9pZCI6IjgzOTAxNDM4NTIwMjQzNDM4NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb06534aa92f780afefed0305d909fe24b87ac9a17a06ec6025079c7895c5d58c
hovercard-subject-tagpull_request:2170656656
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/126607/commits
twitter:imagehttps://opengraph.githubassets.com/6cd22aeddbc61ebfa310f5d37838185dcbf9d1d989003e5f05880041f8417958/python/cpython/pull/126607
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6cd22aeddbc61ebfa310f5d37838185dcbf9d1d989003e5f05880041f8417958/python/cpython/pull/126607
og:image:altEnable specialization of LOAD_GLOBAL in free-threaded builds. Thread-safety of specialization in free-threaded builds is provided by the following: A critical section is held on both the globals a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamempage
hostnamegithub.com
expected-hostnamegithub.com
Nonedf99b7164e1d961b639cf5d3cbd6b5ba673edc67bd7e47cdc4746b96099e11ae
turbo-cache-controlno-cache
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
releasec29ba03b1896083dbe1084f6cd1c5367d8a0d67c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/126607/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126607%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F126607%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/126607/commits
Reloadhttps://github.com/python/cpython/pull/126607/commits
Reloadhttps://github.com/python/cpython/pull/126607/commits
Please reload this pagehttps://github.com/python/cpython/pull/126607/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/126607/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
mpagehttps://github.com/mpage
python:mainhttps://github.com/python/cpython/tree/main
mpage:gh-115999-tlbc-load-globalhttps://github.com/mpage/cpython/tree/gh-115999-tlbc-load-global
Conversationhttps://github.com/python/cpython/pull/126607
Commits19 (19)https://github.com/python/cpython/pull/126607/commits
Checkshttps://github.com/python/cpython/pull/126607/checks
Files changedhttps://github.com/python/cpython/pull/126607/files
gh-115999: Specialize LOAD_GLOBAL in free-threaded buildshttps://github.com/python/cpython/pull/126607/commits#top
mpagehttps://github.com/mpage
python:mainhttps://github.com/python/cpython/tree/main
mpage:gh-115999-tlbc-load-globalhttps://github.com/mpage/cpython/tree/gh-115999-tlbc-load-global
Make specialization of LOAD_GLOBAL thread-safehttps://github.com/python/cpython/pull/126607/commits/05af6b2df99b787c9dd04bda233cb94de95fe727
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
05af6b2https://github.com/python/cpython/pull/126607/commits/05af6b2df99b787c9dd04bda233cb94de95fe727
https://github.com/python/cpython/tree/05af6b2df99b787c9dd04bda233cb94de95fe727
_Py_GetExecutor needs a CS in free-threaded buildshttps://github.com/python/cpython/pull/126607/commits/5af633c7a74f791a1a373b3d78be7d2d5e602f1b
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
5af633chttps://github.com/python/cpython/pull/126607/commits/5af633c7a74f791a1a373b3d78be7d2d5e602f1b
https://github.com/python/cpython/tree/5af633c7a74f791a1a373b3d78be7d2d5e602f1b
Undo workaround for cases generator bughttps://github.com/python/cpython/pull/126607/commits/7b3df6f883e2f77bd14170cbf055fa222109e8ff
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
7b3df6fhttps://github.com/python/cpython/pull/126607/commits/7b3df6f883e2f77bd14170cbf055fa222109e8ff
https://github.com/python/cpython/tree/7b3df6f883e2f77bd14170cbf055fa222109e8ff
Fix unused function warninghttps://github.com/python/cpython/pull/126607/commits/8f6239d2eebcd6cfc65a49153b62ea26bfff2cb2
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
8f6239dhttps://github.com/python/cpython/pull/126607/commits/8f6239d2eebcd6cfc65a49153b62ea26bfff2cb2
https://github.com/python/cpython/tree/8f6239d2eebcd6cfc65a49153b62ea26bfff2cb2
Double check that keys are still validhttps://github.com/python/cpython/pull/126607/commits/49ec70a6ffe358fce6c8725298ee6a99c30ad46b
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
49ec70ahttps://github.com/python/cpython/pull/126607/commits/49ec70a6ffe358fce6c8725298ee6a99c30ad46b
https://github.com/python/cpython/tree/49ec70a6ffe358fce6c8725298ee6a99c30ad46b
Fix formattinghttps://github.com/python/cpython/pull/126607/commits/0e5045149ce1d061e5c78bce892a6851de954163
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
0e50451https://github.com/python/cpython/pull/126607/commits/0e5045149ce1d061e5c78bce892a6851de954163
https://github.com/python/cpython/tree/0e5045149ce1d061e5c78bce892a6851de954163
Fix linkagehttps://github.com/python/cpython/pull/126607/commits/72519ca3ac77dbcb2cc7b4a92c943fbcdc2ee7de
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
72519cahttps://github.com/python/cpython/pull/126607/commits/72519ca3ac77dbcb2cc7b4a92c943fbcdc2ee7de
https://github.com/python/cpython/tree/72519ca3ac77dbcb2cc7b4a92c943fbcdc2ee7de
`_Py_TryIncrefCompare` can't escapehttps://github.com/python/cpython/pull/126607/commits/d55397b22c34b430a7d342cbaeaa55b8216fbc45
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
d55397bhttps://github.com/python/cpython/pull/126607/commits/d55397b22c34b430a7d342cbaeaa55b8216fbc45
https://github.com/python/cpython/tree/d55397b22c34b430a7d342cbaeaa55b8216fbc45
Use atomics for setting keys version for split keyshttps://github.com/python/cpython/pull/126607/commits/ad9a9d025a8232487586b222cb17b804e713bb3b
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
ad9a9d0https://github.com/python/cpython/pull/126607/commits/ad9a9d025a8232487586b222cb17b804e713bb3b
https://github.com/python/cpython/tree/ad9a9d025a8232487586b222cb17b804e713bb3b
Ensure dict is shared when assigning keys versionhttps://github.com/python/cpython/pull/126607/commits/5b7e65c2a237d2ddc4d3c89887608de27636070d
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
5b7e65chttps://github.com/python/cpython/pull/126607/commits/5b7e65c2a237d2ddc4d3c89887608de27636070d
https://github.com/python/cpython/tree/5b7e65c2a237d2ddc4d3c89887608de27636070d
Don't check keys after loading themhttps://github.com/python/cpython/pull/126607/commits/129300b45cdf52a5f1e024fcfbecc5a5a5d9c8f5
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
129300bhttps://github.com/python/cpython/pull/126607/commits/129300b45cdf52a5f1e024fcfbecc5a5a5d9c8f5
https://github.com/python/cpython/tree/129300b45cdf52a5f1e024fcfbecc5a5a5d9c8f5
Support deferred refcountinghttps://github.com/python/cpython/pull/126607/commits/34404291a63239661d98bce768ca7f35764d6427
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
3440429https://github.com/python/cpython/pull/126607/commits/34404291a63239661d98bce768ca7f35764d6427
https://github.com/python/cpython/tree/34404291a63239661d98bce768ca7f35764d6427
Merge branch 'main' into gh-115999-tlbc-load-globalhttps://github.com/python/cpython/pull/126607/commits/01041a40463ff44a155824436d1ddc4f78d45bf8
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
01041a4https://github.com/python/cpython/pull/126607/commits/01041a40463ff44a155824436d1ddc4f78d45bf8
https://github.com/python/cpython/tree/01041a40463ff44a155824436d1ddc4f78d45bf8
Fix param namehttps://github.com/python/cpython/pull/126607/commits/bfe1c93285ca290e2f2eef49ae3cf3f013b94e3c
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
bfe1c93https://github.com/python/cpython/pull/126607/commits/bfe1c93285ca290e2f2eef49ae3cf3f013b94e3c
https://github.com/python/cpython/tree/bfe1c93285ca290e2f2eef49ae3cf3f013b94e3c
Always mark keys sharedhttps://github.com/python/cpython/pull/126607/commits/d5258e05b4153112209a76e39e1acf28ec2f58c5
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
d5258e0https://github.com/python/cpython/pull/126607/commits/d5258e05b4153112209a76e39e1acf28ec2f58c5
https://github.com/python/cpython/tree/d5258e05b4153112209a76e39e1acf28ec2f58c5
Update commenthttps://github.com/python/cpython/pull/126607/commits/852be3891639e1b817da9794debf75f81fd2339d
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
852be38https://github.com/python/cpython/pull/126607/commits/852be3891639e1b817da9794debf75f81fd2339d
https://github.com/python/cpython/tree/852be3891639e1b817da9794debf75f81fd2339d
Merge branch 'main' into gh-115999-tlbc-load-globalhttps://github.com/python/cpython/pull/126607/commits/e11e0aeb5ce51d42b31d059991eb909413c50c74
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
e11e0aehttps://github.com/python/cpython/pull/126607/commits/e11e0aeb5ce51d42b31d059991eb909413c50c74
https://github.com/python/cpython/tree/e11e0aeb5ce51d42b31d059991eb909413c50c74
Don't pass reason to unspecializehttps://github.com/python/cpython/pull/126607/commits/01f41432db65b4b157c7f8979328d02ea8c967db
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
01f4143https://github.com/python/cpython/pull/126607/commits/01f41432db65b4b157c7f8979328d02ea8c967db
https://github.com/python/cpython/tree/01f41432db65b4b157c7f8979328d02ea8c967db
Merge branch 'main' into gh-115999-tlbc-load-globalhttps://github.com/python/cpython/pull/126607/commits/b922dfe2eabc417fc41a5d7c70ed70f2c57b4bf4
https://github.com/mpage
mpagehttps://github.com/python/cpython/commits?author=mpage
b922dfehttps://github.com/python/cpython/pull/126607/commits/b922dfe2eabc417fc41a5d7c70ed70f2c57b4bf4
https://github.com/python/cpython/tree/b922dfe2eabc417fc41a5d7c70ed70f2c57b4bf4
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.