René's URL Explorer Experiment


Title: gh-120321: Make gen.gi_frame.clear() thread-safe by colesbury · Pull Request #143112 · python/cpython · GitHub

Open Graph Title: gh-120321: Make gen.gi_frame.clear() thread-safe by colesbury · Pull Request #143112 · python/cpython

X Title: gh-120321: Make gen.gi_frame.clear() thread-safe by colesbury · Pull Request #143112 · python/cpython

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

Open Graph Description: This splits up the clearing of a generator frame from the tp_finalize implementation, which makes it easier to do the frame transition atomically. Note that since gh-111792, it's only legal to ...

X Description: This splits up the clearing of a generator frame from the tp_finalize implementation, which makes it easier to do the frame transition atomically. Note that since gh-111792, it's only legal...

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

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:1c8498cf-0ac7-1b33-5d9a-f7e619eef00d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5E8:37FE30:115A7B6:178F404:6A571870
html-safe-noncebe535032fe1af281dc291774000b97146f297cb251e628dfecf37b1c5d29e874
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUU4OjM3RkUzMDoxMTVBN0I2OjE3OEY0MDQ6NkE1NzE4NzAiLCJ2aXNpdG9yX2lkIjoiOTc5OTU5NDAyMzk5NzMzODcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace7de87084b0410df8b4028b6984fe382d251f919972f928aa4a104e8af33eafe
hovercard-subject-tagpull_request:3126789630
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/143112/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f285c3b12c74e53087c5084070932959f409dfa02ada805005260004d67fd208/python/cpython/pull/143112
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f285c3b12c74e53087c5084070932959f409dfa02ada805005260004d67fd208/python/cpython/pull/143112
og:image:altThis splits up the clearing of a generator frame from the tp_finalize implementation, which makes it easier to do the frame transition atomically. Note that since gh-111792, it's only legal to ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecolesbury
hostnamegithub.com
expected-hostnamegithub.com
None4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98
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
release2576d1f0198cf1588faf2edf27f1ed120903be10
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/143112#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143112
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%2F143112
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/143112
Reloadhttps://github.com/python/cpython/pull/143112
Reloadhttps://github.com/python/cpython/pull/143112
Please reload this pagehttps://github.com/python/cpython/pull/143112
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/143112
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
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-120321-gen-frame-clearhttps://github.com/colesbury/cpython/tree/gh-120321-gen-frame-clear
Conversationhttps://github.com/python/cpython/pull/143112
Commits1 (1)https://github.com/python/cpython/pull/143112/commits
Checkshttps://github.com/python/cpython/pull/143112/checks
Files changedhttps://github.com/python/cpython/pull/143112/files
gh-120321: Make gen.gi_frame.clear() thread-safehttps://github.com/python/cpython/pull/143112#top
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-120321-gen-frame-clearhttps://github.com/colesbury/cpython/tree/gh-120321-gen-frame-clear
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Dec 23, 2025https://github.com/python/cpython/pull/143112#issue-3758169856
Please reload this pagehttps://github.com/python/cpython/pull/143112
gh-111792https://github.com/python/cpython/pull/111792
SIGSEGV with generators in free-threaded build #120321https://github.com/python/cpython/issues/120321
Please reload this pagehttps://github.com/python/cpython/pull/143112
https://github.com/colesbury
pythongh-120321https://github.com/python/cpython/issues/120321
: Make gen.gi_frame.clear() thread-safehttps://github.com/python/cpython/pull/143112/commits/f53b3121462730d475d70eed0b75e3189b691c2b
f53b312https://github.com/python/cpython/pull/143112/commits/f53b3121462730d475d70eed0b75e3189b691c2b
https://github.com/colesbury
colesburyhttps://github.com/colesbury
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
Dec 23, 2025https://github.com/python/cpython/pull/143112#event-21730451839
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 23, 2025 https://github.com/python/cpython/pull/143112#ref-issue-2344146887
SIGSEGV with generators in free-threaded build #120321 https://github.com/python/cpython/issues/120321
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Dec 23, 2025https://github.com/python/cpython/pull/143112#issuecomment-3687559612
Please reload this pagehttps://github.com/python/cpython/pull/143112
https://github.com/colesbury
colesburyhttps://github.com/colesbury
December 23, 2025 23:13https://github.com/python/cpython/pull/143112#event-21733855917
https://github.com/colesbury
colesburyhttps://github.com/colesbury
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/cc48bf0fde8025d60a577a86bcb68cfd472e0c79/.github/CODEOWNERS#L209
December 23, 2025 23:13https://github.com/python/cpython/pull/143112#event-21733856006
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
Dec 23, 2025https://github.com/python/cpython/pull/143112#event-21733856313
https://github.com/colesbury
colesburyhttps://github.com/colesbury
mpagehttps://github.com/mpage
December 23, 2025 23:13https://github.com/python/cpython/pull/143112#event-21733856931
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Dec 24, 2025 https://github.com/python/cpython/pull/143112#ref-pullrequest-3758851134
gh-120321: Fix TSan reported races on gi_frame_state #143128 https://github.com/python/cpython/pull/143128
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jan 8, 2026 https://github.com/python/cpython/pull/143112#pullrequestreview-3640325709
View reviewed changes https://github.com/python/cpython/pull/143112/files/f53b3121462730d475d70eed0b75e3189b691c2b
Objects/genobject.chttps://github.com/python/cpython/pull/143112/files/f53b3121462730d475d70eed0b75e3189b691c2b#diff-2a0c449b68605ebd0872fd232e60ce7e838a77782a6d2e364764f99514fb508a
Please reload this pagehttps://github.com/python/cpython/pull/143112
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Jan 8, 2026 https://github.com/python/cpython/pull/143112#pullrequestreview-3640581935
View reviewed changes https://github.com/python/cpython/pull/143112/files/f53b3121462730d475d70eed0b75e3189b691c2b
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
Jan 8, 2026https://github.com/python/cpython/pull/143112#event-21929284277
https://github.com/colesbury
colesburyhttps://github.com/colesbury
e2f15aehttps://github.com/python/cpython/commit/e2f15aec16467793bb5c003ec26f50466e1d9fe3
Jan 8, 2026https://github.com/python/cpython/pull/143112#event-21931288395
Please reload this pagehttps://github.com/python/cpython/pull/143112
https://github.com/colesbury
colesburyhttps://github.com/colesbury
January 8, 2026 19:45https://github.com/python/cpython/pull/143112#event-21931289028
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
Jan 8, 2026https://github.com/python/cpython/pull/143112#event-21931289098
reidenonghttps://github.com/reidenong
Jan 12, 2026 https://github.com/python/cpython/pull/143112#ref-commit-15c6659
https://github.com/colesbury
https://github.com/reidenong
pythongh-120321https://github.com/python/cpython/issues/120321
: Make gen.gi_frame.clear() thread-safe (https://github.com/reidenong/cpython/commit/15c66594d6d1a5d938fcff2a23dde8413d6e9205
pythongh-143112https://github.com/python/cpython/pull/143112
)https://github.com/reidenong/cpython/commit/15c66594d6d1a5d938fcff2a23dde8413d6e9205
15c6659https://github.com/reidenong/cpython/commit/15c66594d6d1a5d938fcff2a23dde8413d6e9205
thunder-codinghttps://github.com/thunder-coding
Feb 15, 2026 https://github.com/python/cpython/pull/143112#ref-commit-10f8d7e
https://github.com/colesbury
https://github.com/thunder-coding
pythongh-120321https://github.com/python/cpython/issues/120321
: Make gen.gi_frame.clear() thread-safe (https://github.com/thunder-coding/cpython/commit/10f8d7eaa70a7d2a9dffcb870e9d0e1ba858b455
pythongh-143112https://github.com/python/cpython/pull/143112
)https://github.com/thunder-coding/cpython/commit/10f8d7eaa70a7d2a9dffcb870e9d0e1ba858b455
10f8d7ehttps://github.com/thunder-coding/cpython/commit/10f8d7eaa70a7d2a9dffcb870e9d0e1ba858b455
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%2F143112
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/143112/files/f53b3121462730d475d70eed0b75e3189b691c2b
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/mpage
mpage https://github.com/mpage
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
Please reload this pagehttps://github.com/python/cpython/pull/143112
https://github.com/colesbury
https://github.com/kumaraditya303
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.