René's URL Explorer Experiment


Title: gh-130373: Avoid locking in _LOAD_ATTR_WITH_HINT by DinoV · Pull Request #130372 · python/cpython · GitHub

Open Graph Title: gh-130373: Avoid locking in _LOAD_ATTR_WITH_HINT by DinoV · Pull Request #130372 · python/cpython

X Title: gh-130373: Avoid locking in _LOAD_ATTR_WITH_HINT by DinoV · Pull Request #130372 · python/cpython

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

Open Graph Description: Adds a lock-free lookup of the hinted location https://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20250219-3.14.0a5+-6a1fe7e-NOGIL Issue: _LOAD_ATTR_WITH_HIN...

X Description: Adds a lock-free lookup of the hinted location https://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20250219-3.14.0a5+-6a1fe7e-NOGIL Issue: _LOAD_ATTR_WITH_HIN...

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

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:06405f59-6917-fb7b-8f73-29e4bb1123bf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE804:3499D7:4EE6BE:6B1817:6A569470
html-safe-noncecb639a3d874305d6d6a2a19a7bee79741994a652bfc990ea1045ed0339938fba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODA0OjM0OTlENzo0RUU2QkU6NkIxODE3OjZBNTY5NDcwIiwidmlzaXRvcl9pZCI6IjIyMTc0NjMzMjg5MzA5MDkyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf664cdea368f0eb6911c633970f517bfd2586066e610dc2dc58a7c335ee78561
hovercard-subject-tagpull_request:2347668931
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/130372/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/603f271ecc233aa700e71c03a5e37e9a8452950e3e72b5013648cb83c75a3a8d/python/cpython/pull/130372
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/603f271ecc233aa700e71c03a5e37e9a8452950e3e72b5013648cb83c75a3a8d/python/cpython/pull/130372
og:image:altAdds a lock-free lookup of the hinted location https://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20250219-3.14.0a5+-6a1fe7e-NOGIL Issue: _LOAD_ATTR_WITH_HIN...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDinoV
hostnamegithub.com
expected-hostnamegithub.com
None647a25f437e2f54eccdd162bd007c8ae70f4235c4125dba0f4518747cc8b9615
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
release05adb86a60ce3d701e556eded3ab26300ec6bcc4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/130372#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F130372
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%2F130372
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/130372
Reloadhttps://github.com/python/cpython/pull/130372
Reloadhttps://github.com/python/cpython/pull/130372
Please reload this pagehttps://github.com/python/cpython/pull/130372
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/130372
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
DinoVhttps://github.com/DinoV
python:mainhttps://github.com/python/cpython/tree/main
DinoV:nolock_loadattr_with_hinthttps://github.com/DinoV/cpython/tree/nolock_loadattr_with_hint
Conversationhttps://github.com/python/cpython/pull/130372
Commits2 (2)https://github.com/python/cpython/pull/130372/commits
Checkshttps://github.com/python/cpython/pull/130372/checks
Files changedhttps://github.com/python/cpython/pull/130372/files
gh-130373: Avoid locking in _LOAD_ATTR_WITH_HINThttps://github.com/python/cpython/pull/130372#top
DinoVhttps://github.com/DinoV
python:mainhttps://github.com/python/cpython/tree/main
DinoV:nolock_loadattr_with_hinthttps://github.com/DinoV/cpython/tree/nolock_loadattr_with_hint
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Feb 20, 2025https://github.com/python/cpython/pull/130372#issue-2866780618
Please reload this pagehttps://github.com/python/cpython/pull/130372
https://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20250219-3.14.0a5+-6a1fe7e-NOGILhttps://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20250219-3.14.0a5+-6a1fe7e-NOGIL
_LOAD_ATTR_WITH_HINT should be able to work lock-free in the free-threaded builds #130373https://github.com/python/cpython/issues/130373
Please reload this pagehttps://github.com/python/cpython/pull/130372
https://github.com/DinoV
DinoVhttps://github.com/DinoV
colesburyhttps://github.com/colesbury
mpagehttps://github.com/mpage
February 20, 2025 17:05https://github.com/python/cpython/pull/130372#event-16386241705
https://github.com/DinoV
DinoVhttps://github.com/DinoV
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Feb 20, 2025https://github.com/python/cpython/pull/130372#event-16386266587
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Feb 20, 2025https://github.com/python/cpython/pull/130372#event-16386380985
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 20, 2025 https://github.com/python/cpython/pull/130372#ref-issue-2866801656
_LOAD_ATTR_WITH_HINT should be able to work lock-free in the free-threaded builds #130373 https://github.com/python/cpython/issues/130373
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 20, 2025 https://github.com/python/cpython/pull/130372#pullrequestreview-2630668721
View reviewed changes https://github.com/python/cpython/pull/130372/files
Python/bytecodes.chttps://github.com/python/cpython/pull/130372/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Please reload this pagehttps://github.com/python/cpython/pull/130372
Python/bytecodes.chttps://github.com/python/cpython/pull/130372/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Please reload this pagehttps://github.com/python/cpython/pull/130372
Python/bytecodes.chttps://github.com/python/cpython/pull/130372/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Please reload this pagehttps://github.com/python/cpython/pull/130372
https://github.com/DinoV
DinoVhttps://github.com/DinoV
force-pushedhttps://github.com/python/cpython/compare/6f8b1d723102a1a23c30567e558477c68fd17933..15c28cb650c848a93ccb7bced0c4e2ddf49764dc
6f8b1d7https://github.com/python/cpython/commit/6f8b1d723102a1a23c30567e558477c68fd17933
15c28cbhttps://github.com/python/cpython/commit/15c28cb650c848a93ccb7bced0c4e2ddf49764dc
Compare https://github.com/python/cpython/compare/6f8b1d723102a1a23c30567e558477c68fd17933..15c28cb650c848a93ccb7bced0c4e2ddf49764dc
February 20, 2025 21:30https://github.com/python/cpython/pull/130372#event-16389510961
https://github.com/DinoV
DinoVhttps://github.com/DinoV
February 26, 2025 19:14https://github.com/python/cpython/pull/130372#event-16485391411
https://github.com/DinoV
DinoVhttps://github.com/DinoV
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
code ownershttps://github.com/python/cpython/blob/5c8e8704c39110da15956b0678303aff7dffb3be/.github/CODEOWNERS#L31
February 26, 2025 19:14https://github.com/python/cpython/pull/130372#event-16485391484
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 26, 2025https://github.com/python/cpython/pull/130372#event-16485392013
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Mar 4, 2025 https://github.com/python/cpython/pull/130372#pullrequestreview-2658572344
View reviewed changes https://github.com/python/cpython/pull/130372/files
Python/bytecodes.chttps://github.com/python/cpython/pull/130372/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
colesburyhttps://github.com/colesbury
Mar 4, 2025https://github.com/python/cpython/pull/130372#discussion_r1979993017
Please reload this pagehttps://github.com/python/cpython/pull/130372
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130372
DinoVhttps://github.com/DinoV
Mar 21, 2025https://github.com/python/cpython/pull/130372#discussion_r2008404422
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130372
https://github.com/mpage
mpagehttps://github.com/mpage
Mar 17, 2025https://github.com/python/cpython/pull/130372#issuecomment-2730284698
@DinoVhttps://github.com/DinoV
Please reload this pagehttps://github.com/python/cpython/pull/130372
https://github.com/DinoV
DinoVhttps://github.com/DinoV
force-pushedhttps://github.com/python/cpython/compare/b666cd096aa00e74babf2a47a7c27f41e9d42440..2fbeb0b15d1aa689357ec5ded38a2e8e3cd9bfe8
b666cd0https://github.com/python/cpython/commit/b666cd096aa00e74babf2a47a7c27f41e9d42440
2fbeb0bhttps://github.com/python/cpython/commit/2fbeb0b15d1aa689357ec5ded38a2e8e3cd9bfe8
Compare https://github.com/python/cpython/compare/b666cd096aa00e74babf2a47a7c27f41e9d42440..2fbeb0b15d1aa689357ec5ded38a2e8e3cd9bfe8
March 21, 2025 18:55https://github.com/python/cpython/pull/130372#event-16933841490
https://github.com/mpage
mpagehttps://github.com/mpage
Mar 24, 2025https://github.com/python/cpython/pull/130372#issuecomment-2749052655
Please reload this pagehttps://github.com/python/cpython/pull/130372
https://github.com/mpage
mpagehttps://github.com/mpage
colesburyhttps://github.com/colesbury
March 24, 2025 18:27https://github.com/python/cpython/pull/130372#event-16961067961
DinoVhttps://github.com/DinoV
March 25, 2025 17:04https://github.com/python/cpython/pull/130372#commits-pushed-14eb91d
https://github.com/DinoV
Avoid locking in _LOAD_ATTR_WITH_HINThttps://github.com/python/cpython/pull/130372/commits/14eb91debe64468c5b867c3cede30bbbd42969e9
14eb91dhttps://github.com/python/cpython/pull/130372/commits/14eb91debe64468c5b867c3cede30bbbd42969e9
https://github.com/DinoV
Deopt if not owned, and mark as shared in specializerhttps://github.com/python/cpython/pull/130372/commits/aeb389d8d0baa1a943f02d21874d20b46da9b9a7
aeb389dhttps://github.com/python/cpython/pull/130372/commits/aeb389d8d0baa1a943f02d21874d20b46da9b9a7
https://github.com/DinoV
DinoVhttps://github.com/DinoV
force-pushedhttps://github.com/python/cpython/compare/2fbeb0b15d1aa689357ec5ded38a2e8e3cd9bfe8..aeb389d8d0baa1a943f02d21874d20b46da9b9a7
2fbeb0bhttps://github.com/python/cpython/commit/2fbeb0b15d1aa689357ec5ded38a2e8e3cd9bfe8
aeb389dhttps://github.com/python/cpython/commit/aeb389d8d0baa1a943f02d21874d20b46da9b9a7
Compare https://github.com/python/cpython/compare/2fbeb0b15d1aa689357ec5ded38a2e8e3cd9bfe8..aeb389d8d0baa1a943f02d21874d20b46da9b9a7
March 26, 2025 00:04https://github.com/python/cpython/pull/130372#event-16983434437
https://github.com/mpage
mpagehttps://github.com/mpage
Mar 27, 2025 https://github.com/python/cpython/pull/130372#pullrequestreview-2723935280
View reviewed changes https://github.com/python/cpython/pull/130372/files/aeb389d8d0baa1a943f02d21874d20b46da9b9a7
mpagehttps://github.com/mpage
https://github.com/python/cpython/pull/130372#pullrequestreview-2723935280
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130372
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 27, 2025https://github.com/python/cpython/pull/130372#event-17023556343
https://github.com/DinoV
DinoVhttps://github.com/DinoV
2984ff9https://github.com/python/cpython/commit/2984ff9e5196aa575c7322c2040d55dd4d4eaa02
Mar 28, 2025https://github.com/python/cpython/pull/130372#event-17039804601
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 28, 2025https://github.com/python/cpython/pull/130372#event-17039805408
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F130372
https://github.com/mpage
mpage https://github.com/mpage
https://github.com/python/cpython/pull/130372/files/aeb389d8d0baa1a943f02d21874d20b46da9b9a7
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/methane
methane https://github.com/methane
https://github.com/colesbury
colesbury https://github.com/colesbury
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/130372
https://github.com/DinoV
https://github.com/mpage
https://github.com/colesbury
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.