René's URL Explorer Experiment


Title: gh-127271: Remove the PyCell_Get usage for framelocalsproxy by gaogaotiantian · Pull Request #130383 · python/cpython · GitHub

Open Graph Title: gh-127271: Remove the PyCell_Get usage for framelocalsproxy by gaogaotiantian · Pull Request #130383 · python/cpython

X Title: gh-127271: Remove the PyCell_Get usage for framelocalsproxy by gaogaotiantian · Pull Request #130383 · python/cpython

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

Open Graph Description: In #127272 a PyCell_Get usage in frameobject.c was missed from being replaced for free-threaded safety. I guess the reason was probably the function was labelled to return a borrowed reference and ...

X Description: In #127272 a PyCell_Get usage in frameobject.c was missed from being replaced for free-threaded safety. I guess the reason was probably the function was labelled to return a borrowed reference and ...

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

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:f433fd3f-9413-b3b0-3852-ad526cd7cf80
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC94:356ACF:190703C:249EA2D:6A563B7D
html-safe-noncecb78d2d7e62af3d0444d4b6237e1baf80bdbac32c3ec5b5ca35c2d00a0c22460
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzk0OjM1NkFDRjoxOTA3MDNDOjI0OUVBMkQ6NkE1NjNCN0QiLCJ2aXNpdG9yX2lkIjoiMzkyODYxMDcwMjAxMzkwNTc4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac84ea4625e29df7a8147e478626845ee3116fc2c395e22e6b486173443e4acdb4
hovercard-subject-tagpull_request:2348206704
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/130383/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/819f0aa2f1022285778889c84c2ad8b950cdd323cb59730ea7679a55d561d021/python/cpython/pull/130383
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/819f0aa2f1022285778889c84c2ad8b950cdd323cb59730ea7679a55d561d021/python/cpython/pull/130383
og:image:altIn #127272 a PyCell_Get usage in frameobject.c was missed from being replaced for free-threaded safety. I guess the reason was probably the function was labelled to return a borrowed reference and ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegaogaotiantian
hostnamegithub.com
expected-hostnamegithub.com
None96d96c6ad1e3234907759a5e634942d2ca0aded8a6ec1693a59d0f2c59c0dac9
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
releaseec50befe6b611eee09bfe878347d87b8d5d2443f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/130383#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F130383
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%2F130383
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/130383
Reloadhttps://github.com/python/cpython/pull/130383
Reloadhttps://github.com/python/cpython/pull/130383
Please reload this pagehttps://github.com/python/cpython/pull/130383
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/130383
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
gaogaotiantianhttps://github.com/gaogaotiantian
python:mainhttps://github.com/python/cpython/tree/main
gaogaotiantian:framelocalsproxy-cellhttps://github.com/gaogaotiantian/cpython/tree/framelocalsproxy-cell
Conversationhttps://github.com/python/cpython/pull/130383
Commits8 (8)https://github.com/python/cpython/pull/130383/commits
Checkshttps://github.com/python/cpython/pull/130383/checks
Files changedhttps://github.com/python/cpython/pull/130383/files
gh-127271: Remove the PyCell_Get usage for framelocalsproxyhttps://github.com/python/cpython/pull/130383#top
gaogaotiantianhttps://github.com/gaogaotiantian
python:mainhttps://github.com/python/cpython/tree/main
gaogaotiantian:framelocalsproxy-cellhttps://github.com/gaogaotiantian/cpython/tree/framelocalsproxy-cell
https://github.com/gaogaotiantian
gaogaotiantianhttps://github.com/gaogaotiantian
Feb 20, 2025https://github.com/python/cpython/pull/130383#issue-2867390782
Please reload this pagehttps://github.com/python/cpython/pull/130383
#127272https://github.com/python/cpython/pull/127272
PyCell_GET/SET are not thread-safe in free-threaded builds #127271https://github.com/python/cpython/issues/127271
Please reload this pagehttps://github.com/python/cpython/pull/130383
https://github.com/gaogaotiantian
Remove the PyCell_Get usage for framelocalsproxyhttps://github.com/python/cpython/pull/130383/commits/2269af5ec1675d1b3b6d915f2213001c818f5918
2269af5https://github.com/python/cpython/pull/130383/commits/2269af5ec1675d1b3b6d915f2213001c818f5918
https://github.com/gaogaotiantian
gaogaotiantianhttps://github.com/gaogaotiantian
naschemehttps://github.com/nascheme
February 20, 2025 22:16https://github.com/python/cpython/pull/130383#event-16390000531
https://github.com/gaogaotiantian
gaogaotiantianhttps://github.com/gaogaotiantian
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/6c450f44c283c61d0e1ada05ead9524a1fe97962/.github/CODEOWNERS#L35
February 20, 2025 22:16https://github.com/python/cpython/pull/130383#event-16390000639
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 20, 2025https://github.com/python/cpython/pull/130383#event-16390001210
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 20, 2025 https://github.com/python/cpython/pull/130383#ref-issue-2692389195
PyCell_GET/SET are not thread-safe in free-threaded builds #127271 https://github.com/python/cpython/issues/127271
https://github.com/gaogaotiantian
gaogaotiantianhttps://github.com/gaogaotiantian
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Feb 20, 2025https://github.com/python/cpython/pull/130383#event-16390007538
https://github.com/gaogaotiantian
Fix warninghttps://github.com/python/cpython/pull/130383/commits/25491daddd3722b8dced3e9d99cb82a8beb2ea92
25491dahttps://github.com/python/cpython/pull/130383/commits/25491daddd3722b8dced3e9d99cb82a8beb2ea92
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 21, 2025 https://github.com/python/cpython/pull/130383#pullrequestreview-2633429166
View reviewed changes https://github.com/python/cpython/pull/130383/files/25491daddd3722b8dced3e9d99cb82a8beb2ea92
Objects/frameobject.chttps://github.com/python/cpython/pull/130383/files/25491daddd3722b8dced3e9d99cb82a8beb2ea92#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
Please reload this pagehttps://github.com/python/cpython/pull/130383
Objects/frameobject.chttps://github.com/python/cpython/pull/130383/files/25491daddd3722b8dced3e9d99cb82a8beb2ea92#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
colesburyhttps://github.com/colesbury
Feb 21, 2025https://github.com/python/cpython/pull/130383#discussion_r1965704188
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
gaogaotiantianhttps://github.com/gaogaotiantian
Feb 21, 2025https://github.com/python/cpython/pull/130383#discussion_r1965826010
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
colesburyhttps://github.com/colesbury
Feb 21, 2025https://github.com/python/cpython/pull/130383#discussion_r1965878542
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
gaogaotiantianhttps://github.com/gaogaotiantian
Feb 21, 2025https://github.com/python/cpython/pull/130383#discussion_r1965886190
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
colesburyhttps://github.com/colesbury
Feb 25, 2025https://github.com/python/cpython/pull/130383#discussion_r1970001274
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
gaogaotiantianhttps://github.com/gaogaotiantian
Feb 25, 2025https://github.com/python/cpython/pull/130383#discussion_r1970110022
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
gaogaotiantianhttps://github.com/gaogaotiantian
Feb 25, 2025https://github.com/python/cpython/pull/130383#discussion_r1970528118
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
gaogaotiantianhttps://github.com/gaogaotiantian
February 21, 2025 11:33https://github.com/python/cpython/pull/130383#commits-pushed-2a98b81
https://github.com/gaogaotiantian
https://github.com/colesbury
Fix stylehttps://github.com/python/cpython/pull/130383/commits/2a98b816fa975426d398e308d6a679f36e70f349
2a98b81https://github.com/python/cpython/pull/130383/commits/2a98b816fa975426d398e308d6a679f36e70f349
https://github.com/gaogaotiantian
Do check & read in a single operationhttps://github.com/python/cpython/pull/130383/commits/2828ee21bb144e8bdc9e57259caf653fc62883cc
2828ee2https://github.com/python/cpython/pull/130383/commits/2828ee21bb144e8bdc9e57259caf653fc62883cc
https://github.com/gaogaotiantian
C stylehttps://github.com/python/cpython/pull/130383/commits/c22ba6b3b89d6fd92a29976c6f662454d0edb79c
c22ba6bhttps://github.com/python/cpython/pull/130383/commits/c22ba6b3b89d6fd92a29976c6f662454d0edb79c
https://github.com/gaogaotiantian
Fix linthttps://github.com/python/cpython/pull/130383/commits/037360154accf422787f484080fd395002737b63
0373601https://github.com/python/cpython/pull/130383/commits/037360154accf422787f484080fd395002737b63
https://github.com/gaogaotiantian
Remove unused varhttps://github.com/python/cpython/pull/130383/commits/e396e1bed0c358ccacccdf73a4f75d104fdea039
e396e1bhttps://github.com/python/cpython/pull/130383/commits/e396e1bed0c358ccacccdf73a4f75d104fdea039
https://github.com/nascheme
naschemehttps://github.com/nascheme
Feb 26, 2025 https://github.com/python/cpython/pull/130383#pullrequestreview-2645861491
View reviewed changes https://github.com/python/cpython/pull/130383/files/e396e1bed0c358ccacccdf73a4f75d104fdea039
naschemehttps://github.com/nascheme
https://github.com/python/cpython/pull/130383#pullrequestreview-2645861491
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
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
Feb 26, 2025https://github.com/python/cpython/pull/130383#event-16486455122
https://github.com/gaogaotiantian
gaogaotiantianhttps://github.com/gaogaotiantian
Feb 27, 2025https://github.com/python/cpython/pull/130383#issuecomment-2688605934
@colesburyhttps://github.com/colesbury
Please reload this pagehttps://github.com/python/cpython/pull/130383
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 27, 2025 https://github.com/python/cpython/pull/130383#pullrequestreview-2648714873
View reviewed changes https://github.com/python/cpython/pull/130383/files/e396e1bed0c358ccacccdf73a4f75d104fdea039
colesburyhttps://github.com/colesbury
https://github.com/python/cpython/pull/130383#pullrequestreview-2648714873
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
Objects/frameobject.chttps://github.com/python/cpython/pull/130383/files/e396e1bed0c358ccacccdf73a4f75d104fdea039#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
colesburyhttps://github.com/colesbury
Feb 27, 2025https://github.com/python/cpython/pull/130383#discussion_r1974134768
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
gaogaotiantianhttps://github.com/gaogaotiantian
Feb 27, 2025https://github.com/python/cpython/pull/130383#discussion_r1974150073
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130383
https://github.com/gaogaotiantian
Use PyDict_GetItemRefhttps://github.com/python/cpython/pull/130383/commits/72776f043d3c78a885984af1d60a7596c2e46c98
72776f0https://github.com/python/cpython/pull/130383/commits/72776f043d3c78a885984af1d60a7596c2e46c98
https://github.com/gaogaotiantian
gaogaotiantianhttps://github.com/gaogaotiantian
6140b08https://github.com/python/cpython/commit/6140b0896e95ca96aa15472e14d0502966391485
Feb 27, 2025https://github.com/python/cpython/pull/130383#event-16504420841
https://github.com/gaogaotiantian
gaogaotiantianhttps://github.com/gaogaotiantian
February 27, 2025 23:12https://github.com/python/cpython/pull/130383#event-16504421190
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
Feb 27, 2025https://github.com/python/cpython/pull/130383#event-16504421212
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%2F130383
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/130383/files/e396e1bed0c358ccacccdf73a4f75d104fdea039
https://github.com/nascheme
nascheme https://github.com/nascheme
https://github.com/python/cpython/pull/130383/files/e396e1bed0c358ccacccdf73a4f75d104fdea039
https://github.com/markshannon
markshannon https://github.com/markshannon
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/130383
https://github.com/gaogaotiantian
https://github.com/colesbury
https://github.com/nascheme
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.