René's URL Explorer Experiment


Title: gh-121621: Move asyncio freelist to thread state by Fidget-Spinner · Pull Request #121915 · python/cpython · GitHub

Open Graph Title: gh-121621: Move asyncio freelist to thread state by Fidget-Spinner · Pull Request #121915 · python/cpython

X Title: gh-121621: Move asyncio freelist to thread state by Fidget-Spinner · Pull Request #121915 · python/cpython

Description: Issue: asyncio module state should be locked with mutexes in free-threaded builds #121621

Open Graph Description: Issue: asyncio module state should be locked with mutexes in free-threaded builds #121621

X Description: Issue: asyncio module state should be locked with mutexes in free-threaded builds #121621

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

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:df52fad6-d324-4971-4b15-0837c60b14b2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE2D0:FC316:2B0561C:388FD3D:696B2E6F
html-safe-noncec3e3c2ffcee3b607be85a53183b4d7273282623c3ea5d4d0c09d79072f9c1fb3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkQwOkZDMzE2OjJCMDU2MUM6Mzg4RkQzRDo2OTZCMkU2RiIsInZpc2l0b3JfaWQiOiIyMDM3NjY5NDY5NDE1Nzg4NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6fbd9d10ca981e1ca57a3f80f569d0afdf3f8411782633bb6b0259f830a18620
hovercard-subject-tagpull_request:1973834787
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/121915/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c1a314083831cb4706c337bf71d8bf28d601ed18eb02f7cfc4130df8aebf4bb8/python/cpython/pull/121915
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c1a314083831cb4706c337bf71d8bf28d601ed18eb02f7cfc4130df8aebf4bb8/python/cpython/pull/121915
og:image:altIssue: asyncio module state should be locked with mutexes in free-threaded builds #121621
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFidget-Spinner
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/121915#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F121915
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%2F121915
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/121915
Reloadhttps://github.com/python/cpython/pull/121915
Reloadhttps://github.com/python/cpython/pull/121915
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/121915
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/121915
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/121915#issue-comment-box
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
Fidget-Spinner:asyncio_clear_freelisthttps://github.com/Fidget-Spinner/cpython/tree/asyncio_clear_freelist
gh-121621: Move asyncio freelist to thread state https://github.com/python/cpython/pull/121915#top
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
Fidget-Spinner:asyncio_clear_freelisthttps://github.com/Fidget-Spinner/cpython/tree/asyncio_clear_freelist
Conversation 4 https://github.com/python/cpython/pull/121915
Commits 13 https://github.com/python/cpython/pull/121915/commits
Checks 0 https://github.com/python/cpython/pull/121915/checks
Files changed https://github.com/python/cpython/pull/121915/files
Please reload this pagehttps://github.com/python/cpython/pull/121915
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jul 17, 2024https://github.com/python/cpython/pull/121915#issue-2413749615
Please reload this pagehttps://github.com/python/cpython/pull/121915
asyncio module state should be locked with mutexes in free-threaded builds #121621https://github.com/python/cpython/issues/121621
Please reload this pagehttps://github.com/python/cpython/pull/121915
Fidget-Spinnerhttps://github.com/Fidget-Spinner
July 11, 2024 20:20https://github.com/python/cpython/pull/121915#commits-pushed-4822190
https://github.com/Fidget-Spinner
Use PyMutex for writes to asyncio statehttps://github.com/python/cpython/pull/121915/commits/482219028d32794fe2d727a7a6059068c63377b7
4822190https://github.com/python/cpython/pull/121915/commits/482219028d32794fe2d727a7a6059068c63377b7
https://github.com/Fidget-Spinner
Address reviewhttps://github.com/python/cpython/pull/121915/commits/143747b8a011c3403bb78d0a1afcdeb8d01711da
143747bhttps://github.com/python/cpython/pull/121915/commits/143747b8a011c3403bb78d0a1afcdeb8d01711da
https://github.com/Fidget-Spinner
fix default buildhttps://github.com/python/cpython/pull/121915/commits/580304cf2db3b0066d62123901c759f85764b787
580304chttps://github.com/python/cpython/pull/121915/commits/580304cf2db3b0066d62123901c759f85764b787
https://github.com/Fidget-Spinner
Fix typohttps://github.com/python/cpython/pull/121915/commits/1faed1225ee0ef74f025d5d4150fc7cab2baf3ab
1faed12https://github.com/python/cpython/pull/121915/commits/1faed1225ee0ef74f025d5d4150fc7cab2baf3ab
https://github.com/Fidget-Spinner
Address reviewhttps://github.com/python/cpython/pull/121915/commits/ba3d77174807733e3d6dd0e5f703db161e88bd0c
ba3d771https://github.com/python/cpython/pull/121915/commits/ba3d77174807733e3d6dd0e5f703db161e88bd0c
https://github.com/Fidget-Spinner
fixup whitespacehttps://github.com/python/cpython/pull/121915/commits/ec2c175706f681cabf81562fe4fcc928289039ed
ec2c175https://github.com/python/cpython/pull/121915/commits/ec2c175706f681cabf81562fe4fcc928289039ed
https://github.com/Fidget-Spinner
minor nithttps://github.com/python/cpython/pull/121915/commits/e1b730a0a38e7bbfe691a7c5ae335fdefeb5186b
e1b730ahttps://github.com/python/cpython/pull/121915/commits/e1b730a0a38e7bbfe691a7c5ae335fdefeb5186b
https://github.com/Fidget-Spinner
Move asyncio freelist to per-threadhttps://github.com/python/cpython/pull/121915/commits/f9fb6e1eb94fa5bc3902e88d266bc25b752824bb
f9fb6e1https://github.com/python/cpython/pull/121915/commits/f9fb6e1eb94fa5bc3902e88d266bc25b752824bb
https://github.com/Fidget-Spinner
Move running loop to thread statehttps://github.com/python/cpython/pull/121915/commits/c9ac6bb51982afef19ee687b978fe21262c73c64
c9ac6bbhttps://github.com/python/cpython/pull/121915/commits/c9ac6bb51982afef19ee687b978fe21262c73c64
https://github.com/Fidget-Spinner
Merge remote-tracking branch 'upstream/main' into asyncio_rest_thread…https://github.com/python/cpython/pull/121915/commits/b450b96beff8caa41438f84d1eecf500ebdc655a
b450b96https://github.com/python/cpython/pull/121915/commits/b450b96beff8caa41438f84d1eecf500ebdc655a
https://github.com/Fidget-Spinner
Merge remote-tracking branch 'upstream/main' into asyncio_clear_freelisthttps://github.com/python/cpython/pull/121915/commits/b3aa59138e7b5148f26121ed563bae76ebe588d0
b3aa591https://github.com/python/cpython/pull/121915/commits/b3aa59138e7b5148f26121ed563bae76ebe588d0
https://github.com/Fidget-Spinner
remove freelist trackinghttps://github.com/python/cpython/pull/121915/commits/e51442627152a8d7ab88629f14be3a1a50a9c38b
e514426https://github.com/python/cpython/pull/121915/commits/e51442627152a8d7ab88629f14be3a1a50a9c38b
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
gvanrossumhttps://github.com/gvanrossum
kumaraditya303https://github.com/kumaraditya303
willingchttps://github.com/willingc
code ownershttps://github.com/python/cpython/blob/58753f33e47fe48906883dc010771f68c13b7e52/.github/CODEOWNERS#L20
July 17, 2024 14:18https://github.com/python/cpython/pull/121915#event-13537594823
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 17, 2024 https://github.com/python/cpython/pull/121915#ref-issue-2403051310
asyncio module state should be locked with mutexes in free-threaded builds #121621 https://github.com/python/cpython/issues/121621
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
Jul 17, 2024https://github.com/python/cpython/pull/121915#event-13537596510
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
colesburyhttps://github.com/colesbury
July 17, 2024 14:18https://github.com/python/cpython/pull/121915#event-13537597073
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Jul 17, 2024https://github.com/python/cpython/pull/121915#event-13537598983
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jul 17, 2024 https://github.com/python/cpython/pull/121915#pullrequestreview-2183080292
View reviewed changes https://github.com/python/cpython/pull/121915/files/e51442627152a8d7ab88629f14be3a1a50a9c38b
Include/internal/pycore_freelist.hhttps://github.com/python/cpython/pull/121915/files/e51442627152a8d7ab88629f14be3a1a50a9c38b#diff-29abde1447170e09a96a81f6360ca2e3052d8b6520f50cb27ad294a521aa152b
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jul 17, 2024https://github.com/python/cpython/pull/121915#discussion_r1681145077
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/121915
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jul 17, 2024 https://github.com/python/cpython/pull/121915#pullrequestreview-2183080824
View reviewed changes https://github.com/python/cpython/pull/121915/files/e51442627152a8d7ab88629f14be3a1a50a9c38b
Include/internal/pycore_freelist.hhttps://github.com/python/cpython/pull/121915/files/e51442627152a8d7ab88629f14be3a1a50a9c38b#diff-29abde1447170e09a96a81f6360ca2e3052d8b6520f50cb27ad294a521aa152b
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jul 17, 2024https://github.com/python/cpython/pull/121915#discussion_r1681145428
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/121915
colesburyhttps://github.com/colesbury
Jul 17, 2024https://github.com/python/cpython/pull/121915#discussion_r1681656516
Please reload this pagehttps://github.com/python/cpython/pull/121915
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#121934https://github.com/python/cpython/pull/121934
Please reload this pagehttps://github.com/python/cpython/pull/121915
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jul 18, 2024https://github.com/python/cpython/pull/121915#discussion_r1683350081
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/121915
https://github.com/Fidget-Spinner
cleanuphttps://github.com/python/cpython/pull/121915/commits/7786eeb3dd0a59a625d6a5ffd2b61d099d29c6be
7786eebhttps://github.com/python/cpython/pull/121915/commits/7786eeb3dd0a59a625d6a5ffd2b61d099d29c6be
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jul 18, 2024https://github.com/python/cpython/pull/121915#event-13561629216
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Jul 18, 2024https://github.com/python/cpython/pull/121915#event-13561630390
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%2F121915
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/willingc
willingc https://github.com/willingc
https://github.com/colesbury
colesbury https://github.com/colesbury
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
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/121915
https://github.com/Fidget-Spinner
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.