René's URL Explorer Experiment


Title: gh-151722: Fix data race on frozendict reads during construction in free-threading build by tonghuaroot · Pull Request #151724 · python/cpython · GitHub

Open Graph Title: gh-151722: Fix data race on frozendict reads during construction in free-threading build by tonghuaroot · Pull Request #151724 · python/cpython

X Title: gh-151722: Fix data race on frozendict reads during construction in free-threading build by tonghuaroot · Pull Request #151724 · python/cpython

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

Open Graph Description: In the free-threading build, len(fd), repr(fd) and hash(fd) on a frozendict (PEP 814) read the object's internal state without synchronization. That is safe for a finished frozendict, but not w...

X Description: In the free-threading build, len(fd), repr(fd) and hash(fd) on a frozendict (PEP 814) read the object's internal state without synchronization. That is safe for a finished frozendict, but n...

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

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:248c82ce-1178-830e-6c9d-bb8f28a6509b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD38:34DA5A:43B2C90:6022ABE:6A4FC666
html-safe-noncee2ac0cdcf70db5f2e3d153abcc9f06d3233906543734558a910555bef0ea20ef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDM4OjM0REE1QTo0M0IyQzkwOjYwMjJBQkU6NkE0RkM2NjYiLCJ2aXNpdG9yX2lkIjoiNTMzNDA3NTUxMDUzMTAxNjI5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf7b16ffa7c37e2e6a5c4ff34da8abc7b8f5a3d0df166f22623a3b2bef43349a0
hovercard-subject-tagpull_request:3897793720
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/151724/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/84f8e7d04a6f6e4c281ab3ed38ab0f818d50c8c5a120ad05a98fec1eeaf3e3dc/python/cpython/pull/151724
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/84f8e7d04a6f6e4c281ab3ed38ab0f818d50c8c5a120ad05a98fec1eeaf3e3dc/python/cpython/pull/151724
og:image:altIn the free-threading build, len(fd), repr(fd) and hash(fd) on a frozendict (PEP 814) read the object's internal state without synchronization. That is safe for a finished frozendict, but not w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametonghuaroot
hostnamegithub.com
expected-hostnamegithub.com
None60b2ae4c725f51e2dac275d0ac5e9233e5967a61cdfaebd732f63da67ff1b71c
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
release06fb64e1cb36b9a7a2e3f0e6c14af40ef9f439d4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/151724#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F151724
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%2F151724
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/151724
Reloadhttps://github.com/python/cpython/pull/151724
Reloadhttps://github.com/python/cpython/pull/151724
Please reload this pagehttps://github.com/python/cpython/pull/151724
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/151724
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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
tonghuaroothttps://github.com/tonghuaroot
python:mainhttps://github.com/python/cpython/tree/main
tonghuaroot:fix-frozendict-ft-read-racehttps://github.com/tonghuaroot/cpython/tree/fix-frozendict-ft-read-race
Conversationhttps://github.com/python/cpython/pull/151724
Commits3 (3)https://github.com/python/cpython/pull/151724/commits
Checkshttps://github.com/python/cpython/pull/151724/checks
Files changedhttps://github.com/python/cpython/pull/151724/files
gh-151722: Fix data race on frozendict reads during construction in free-threading buildhttps://github.com/python/cpython/pull/151724#top
tonghuaroothttps://github.com/tonghuaroot
python:mainhttps://github.com/python/cpython/tree/main
tonghuaroot:fix-frozendict-ft-read-racehttps://github.com/tonghuaroot/cpython/tree/fix-frozendict-ft-read-race
https://github.com/tonghuaroot
tonghuaroothttps://github.com/tonghuaroot
Jun 19, 2026https://github.com/python/cpython/pull/151724#issue-4699830550
#145920https://github.com/python/cpython/pull/145920
Please reload this pagehttps://github.com/python/cpython/pull/151724
https://github.com/tonghuaroot
pythongh-151722https://github.com/python/cpython/issues/151722
: Fix data race on frozendict reads during constructio…https://github.com/python/cpython/pull/151724/commits/675a368a1748f32745a22064f10058b3d60f7a99
675a368https://github.com/python/cpython/pull/151724/commits/675a368a1748f32745a22064f10058b3d60f7a99
https://github.com/tonghuaroot
tonghuaroothttps://github.com/tonghuaroot
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
code ownershttps://github.com/python/cpython/blob/b4cfb992ed3a28b8cd626f70e3550ac8dbec1758/.github/CODEOWNERS#L215
June 19, 2026 10:09https://github.com/python/cpython/pull/151724#event-26952309343
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 19, 2026 https://github.com/python/cpython/pull/151724#ref-issue-4699629762
Data race on frozendict reads during construction in the free-threading build #151722 https://github.com/python/cpython/issues/151722
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jun 19, 2026https://github.com/python/cpython/pull/151724#event-26952313248
https://github.com/tonghuaroot
pythongh-151722https://github.com/python/cpython/issues/151722
: Add free-threading regression test for frozendict re…https://github.com/python/cpython/pull/151724/commits/8a4795a173ed7f554af292910a8a7f9ed38bf826
8a4795ahttps://github.com/python/cpython/pull/151724/commits/8a4795a173ed7f554af292910a8a7f9ed38bf826
https://github.com/tonghuaroot
tonghuaroothttps://github.com/tonghuaroot
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
code ownerhttps://github.com/python/cpython/blob/93b9e7666f4337e3cacfed6993568e4bec575e9b/.github/CODEOWNERS#L267
June 19, 2026 11:04https://github.com/python/cpython/pull/151724#event-26954110741
https://github.com/tonghuaroot
pythongh-151722https://github.com/python/cpython/issues/151722
: Move frozendict free-threading regression test into …https://github.com/python/cpython/pull/151724/commits/47a49747f46962724560dbf9cd75e72d83c20c33
47a4974https://github.com/python/cpython/pull/151724/commits/47a49747f46962724560dbf9cd75e72d83c20c33
https://github.com/corona10
corona10https://github.com/corona10
Jun 19, 2026https://github.com/python/cpython/pull/151724#event-26961659392
https://github.com/corona10
corona10https://github.com/corona10
Jun 19, 2026https://github.com/python/cpython/pull/151724#issuecomment-4752484755
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/151724
https://github.com/corona10
corona10https://github.com/corona10
Jun 19, 2026https://github.com/python/cpython/pull/151724#issuecomment-4752906910
Please reload this pagehttps://github.com/python/cpython/pull/151724
#151740https://github.com/python/cpython/pull/151740
Please reload this pagehttps://github.com/python/cpython/pull/151724
https://github.com/corona10
corona10https://github.com/corona10
Jun 23, 2026https://github.com/python/cpython/pull/151724#event-27068964570
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 23, 2026https://github.com/python/cpython/pull/151724#issuecomment-4777756207
#151740https://github.com/python/cpython/pull/151740
Please reload this pagehttps://github.com/python/cpython/pull/151724
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%2F151724
https://github.com/methane
methane https://github.com/methane
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/corona10
corona10 https://github.com/corona10
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/151724
https://github.com/tonghuaroot
https://github.com/corona10
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.