René's URL Explorer Experiment


Title: gh-127271: Replace use of PyCell_GET/SET by nascheme · Pull Request #127272 · python/cpython · GitHub

Open Graph Title: gh-127271: Replace use of PyCell_GET/SET by nascheme · Pull Request #127272 · python/cpython

X Title: gh-127271: Replace use of PyCell_GET/SET by nascheme · Pull Request #127272 · python/cpython

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

Open Graph Description: These macros are not safe to use in the free-threaded build. Use PyCell_GetRef() and PyCell_SetTakeRef() instead. Add PyCell_GET to the free-threading howto table of APIs that return borrowed refs...

X Description: These macros are not safe to use in the free-threaded build. Use PyCell_GetRef() and PyCell_SetTakeRef() instead. Add PyCell_GET to the free-threading howto table of APIs that return borrowed refs...

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

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:c953ec8a-9657-168a-3e55-8c35dc38eaa0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id88BA:2FB483:13DB8D4:1CEF881:6A5620CB
html-safe-nonce394cd86c8f5430ed279454e2e04c06d031469d9ebc7eb79d697643a1ad940254
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEJBOjJGQjQ4MzoxM0RCOEQ0OjFDRUY4ODE6NkE1NjIwQ0IiLCJ2aXNpdG9yX2lkIjoiNDM2MjM1NjM3MDI3MDYzNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac440af6c9ae6a0e8578554665615cae89713065aec25d9ee84610084337c383c2
hovercard-subject-tagpull_request:2199525183
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/127272/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e62450f784844d8d4a8a9cf56b2baf72c72eec89aab60b5f9c297bbf402cb5e9/python/cpython/pull/127272
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e62450f784844d8d4a8a9cf56b2baf72c72eec89aab60b5f9c297bbf402cb5e9/python/cpython/pull/127272
og:image:altThese macros are not safe to use in the free-threaded build. Use PyCell_GetRef() and PyCell_SetTakeRef() instead. Add PyCell_GET to the free-threading howto table of APIs that return borrowed refs...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenascheme
hostnamegithub.com
expected-hostnamegithub.com
Noneeeb71977be324ce2bc7c4afd597296b8e3527d8922ad94632edd7a7296f8031b
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
release3e7957744c8a44d05ff1e464dc5d119e60b98fae
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/127272#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127272
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%2F127272
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/127272
Reloadhttps://github.com/python/cpython/pull/127272
Reloadhttps://github.com/python/cpython/pull/127272
Please reload this pagehttps://github.com/python/cpython/pull/127272
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/127272
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
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gh-127271-cell-get-sethttps://github.com/nascheme/cpython/tree/gh-127271-cell-get-set
Conversationhttps://github.com/python/cpython/pull/127272
Commits6 (6)https://github.com/python/cpython/pull/127272/commits
Checkshttps://github.com/python/cpython/pull/127272/checks
Files changedhttps://github.com/python/cpython/pull/127272/files
gh-127271: Replace use of PyCell_GET/SEThttps://github.com/python/cpython/pull/127272#top
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gh-127271-cell-get-sethttps://github.com/nascheme/cpython/tree/gh-127271-cell-get-set
https://github.com/nascheme
naschemehttps://github.com/nascheme
Nov 25, 2024https://github.com/python/cpython/pull/127272#issue-2692396283
Please reload this pagehttps://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/127272
https://github.com/nascheme
naschemehttps://github.com/nascheme
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Nov 25, 2024https://github.com/python/cpython/pull/127272#event-15427304503
https://github.com/nascheme
naschemehttps://github.com/nascheme
Nov 25, 2024https://github.com/python/cpython/pull/127272#event-15427361080
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 25, 2024 https://github.com/python/cpython/pull/127272#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/nascheme
naschemehttps://github.com/nascheme
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Nov 26, 2024https://github.com/python/cpython/pull/127272#event-15428465653
https://github.com/nascheme
pythongh-127271https://github.com/python/cpython/issues/127271
: Replace use ofhttps://github.com/python/cpython/pull/127272/commits/10ac6e6be3da1387805894c0c9f1dee421e575e5
PyCell_GET/SEThttps://github.com/python/cpython/pull/127272/commits/10ac6e6be3da1387805894c0c9f1dee421e575e5
10ac6e6https://github.com/python/cpython/pull/127272/commits/10ac6e6be3da1387805894c0c9f1dee421e575e5
https://github.com/nascheme
naschemehttps://github.com/nascheme
force-pushedhttps://github.com/python/cpython/compare/ac281e2dc26856aeee5332f6688e5eec184cef6f..10ac6e6be3da1387805894c0c9f1dee421e575e5
ac281e2https://github.com/python/cpython/commit/ac281e2dc26856aeee5332f6688e5eec184cef6f
10ac6e6https://github.com/python/cpython/commit/10ac6e6be3da1387805894c0c9f1dee421e575e5
Compare https://github.com/python/cpython/compare/ac281e2dc26856aeee5332f6688e5eec184cef6f..10ac6e6be3da1387805894c0c9f1dee421e575e5
November 26, 2024 17:09https://github.com/python/cpython/pull/127272#event-15439763077
https://github.com/nascheme
naschemehttps://github.com/nascheme
November 26, 2024 17:42https://github.com/python/cpython/pull/127272#event-15440172499
https://github.com/nascheme
naschemehttps://github.com/nascheme
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/6da9d252ac39d53342455a17bfec7b1087fba697/.github/CODEOWNERS#L66
November 26, 2024 17:42https://github.com/python/cpython/pull/127272#event-15440172592
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
Nov 26, 2024https://github.com/python/cpython/pull/127272#event-15440173142
https://github.com/nascheme
naschemehttps://github.com/nascheme
Nov 26, 2024 https://github.com/python/cpython/pull/127272#ref-pullrequest-2681512872
gh-115999: Specialize LOAD_SUPER_ATTR in free-threaded builds #127128 https://github.com/python/cpython/pull/127128
naschemehttps://github.com/nascheme
November 27, 2024 10:47https://github.com/python/cpython/pull/127272#commits-pushed-8a52275
https://github.com/nascheme
Fix data races using PyCell_GetRef().https://github.com/python/cpython/pull/127272/commits/8a52275136ab74c707028f39c3ab167bc4722cd6
8a52275https://github.com/python/cpython/pull/127272/commits/8a52275136ab74c707028f39c3ab167bc4722cd6
https://github.com/nascheme
Fix thread safety issue with cell_set_contents().https://github.com/python/cpython/pull/127272/commits/95078c871f8d80d49f4003c7f6847d8035591a49
95078c8https://github.com/python/cpython/pull/127272/commits/95078c871f8d80d49f4003c7f6847d8035591a49
https://github.com/nascheme
Add additional unit tests for free-threading.https://github.com/python/cpython/pull/127272/commits/10dba2479976698e5a68cb7c20ae1c00200581ea
10dba24https://github.com/python/cpython/pull/127272/commits/10dba2479976698e5a68cb7c20ae1c00200581ea
https://github.com/nascheme
naschemehttps://github.com/nascheme
mpagehttps://github.com/mpage
November 27, 2024 21:06https://github.com/python/cpython/pull/127272#event-15457640821
https://github.com/nascheme
naschemehttps://github.com/nascheme
Nov 27, 2024https://github.com/python/cpython/pull/127272#issuecomment-2504778088
Please reload this pagehttps://github.com/python/cpython/pull/127272
https://github.com/nascheme
Fix cell_richcompare in the case of NULLs.https://github.com/python/cpython/pull/127272/commits/b09c4cfe07485f68ac2381a6a518a6e3d5da0d81
b09c4cfhttps://github.com/python/cpython/pull/127272/commits/b09c4cfe07485f68ac2381a6a518a6e3d5da0d81
https://github.com/mpage
mpagehttps://github.com/mpage
Dec 3, 2024 https://github.com/python/cpython/pull/127272#pullrequestreview-2474179770
View reviewed changes https://github.com/python/cpython/pull/127272/files/b09c4cfe07485f68ac2381a6a518a6e3d5da0d81
mpagehttps://github.com/mpage
https://github.com/python/cpython/pull/127272#pullrequestreview-2474179770
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/127272
Lib/test/test_free_threading/test_races.pyhttps://github.com/python/cpython/pull/127272/files/b09c4cfe07485f68ac2381a6a518a6e3d5da0d81#diff-1e18dbe7edafebe908dbcd077e3d0a15dffcf31397971ecdb445801c6f6b3fa5
Please reload this pagehttps://github.com/python/cpython/pull/127272
https://github.com/mpage
mpagehttps://github.com/mpage
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Dec 3, 2024https://github.com/python/cpython/pull/127272#event-15501066202
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 3, 2024https://github.com/python/cpython/pull/127272#issuecomment-2513240927
@mpagehttps://github.com/mpage
b09c4cfhttps://github.com/python/cpython/commit/b09c4cfe07485f68ac2381a6a518a6e3d5da0d81
Please reload this pagehttps://github.com/python/cpython/pull/127272
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Dec 3, 2024https://github.com/python/cpython/pull/127272#event-15501066526
https://github.com/mpage
mpagehttps://github.com/mpage
Dec 3, 2024https://github.com/python/cpython/pull/127272#issuecomment-2515145929
neutralhttps://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20241127-3.14.0a2+-b09c4cf
Please reload this pagehttps://github.com/python/cpython/pull/127272
https://github.com/nascheme
Add barrier to increase chance of data race.https://github.com/python/cpython/pull/127272/commits/04ee899d61dd90612305cbd5d36aaca7459e7d0f
04ee899https://github.com/python/cpython/pull/127272/commits/04ee899d61dd90612305cbd5d36aaca7459e7d0f
https://github.com/nascheme
naschemehttps://github.com/nascheme
fc5a0dchttps://github.com/python/cpython/commit/fc5a0dc22483a35068888e828c65796d7a792c14
Dec 3, 2024https://github.com/python/cpython/pull/127272#event-15514507716
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 3, 2024https://github.com/python/cpython/pull/127272#event-15514508446
https://github.com/nascheme
naschemehttps://github.com/nascheme
December 3, 2024 18:33https://github.com/python/cpython/pull/127272#event-15514508918
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 3, 2024https://github.com/python/cpython/pull/127272#issuecomment-2515422041
fc5a0dchttps://github.com/python/cpython/commit/fc5a0dc22483a35068888e828c65796d7a792c14
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/345/builds/9650https://buildbot.python.org/#/builders/345/builds/9650
fc5a0dchttps://github.com/python/cpython/commit/fc5a0dc22483a35068888e828c65796d7a792c14
https://buildbot.python.org/#/builders/345/builds/9650https://buildbot.python.org/#/builders/345/builds/9650
Please reload this pagehttps://github.com/python/cpython/pull/127272
https://github.com/nascheme
naschemehttps://github.com/nascheme
Dec 3, 2024https://github.com/python/cpython/pull/127272#issuecomment-2515472359
Please reload this pagehttps://github.com/python/cpython/pull/127272
srinivasreddyhttps://github.com/srinivasreddy
Jan 8, 2025 https://github.com/python/cpython/pull/127272#ref-commit-43d26ea
https://github.com/nascheme
https://github.com/srinivasreddy
pythongh-127271https://github.com/python/cpython/issues/127271
: Replace use of PyCell_GET/SET (https://github.com/srinivasreddy/cpython/commit/43d26eaf4920f2e05ab72bf7dab144189cc12ecd
pythongh-127272https://github.com/python/cpython/pull/127272
)https://github.com/srinivasreddy/cpython/commit/43d26eaf4920f2e05ab72bf7dab144189cc12ecd
43d26eahttps://github.com/srinivasreddy/cpython/commit/43d26eaf4920f2e05ab72bf7dab144189cc12ecd
ebonnalhttps://github.com/ebonnal
Jan 12, 2025 https://github.com/python/cpython/pull/127272#ref-commit-a0cb339
https://github.com/nascheme
https://github.com/ebonnal
pythongh-127271https://github.com/python/cpython/issues/127271
: Replace use of PyCell_GET/SET (https://github.com/ebonnal/cpython/commit/a0cb339c00f5d743363870ebed6c41c62375b77b
pythongh-127272https://github.com/python/cpython/pull/127272
)https://github.com/ebonnal/cpython/commit/a0cb339c00f5d743363870ebed6c41c62375b77b
a0cb339https://github.com/ebonnal/cpython/commit/a0cb339c00f5d743363870ebed6c41c62375b77b
https://github.com/gaogaotiantian
gaogaotiantianhttps://github.com/gaogaotiantian
Feb 20, 2025 https://github.com/python/cpython/pull/127272#ref-pullrequest-2867390782
gh-127271: Remove the PyCell_Get usage for framelocalsproxy #130383 https://github.com/python/cpython/pull/130383
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%2F127272
https://github.com/mpage
mpage https://github.com/mpage
https://github.com/python/cpython/pull/127272/files/b09c4cfe07485f68ac2381a6a518a6e3d5da0d81
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
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
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/127272
https://github.com/nascheme
https://github.com/bedevere-bot
https://github.com/mpage
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.