René's URL Explorer Experiment


Title: GH-140061: Use _PyObject_IsUniquelyReferenced to check if object is uniquely referenced by sergey-miryanov · Pull Request #140062 · python/cpython · GitHub

Open Graph Title: GH-140061: Use _PyObject_IsUniquelyReferenced to check if object is uniquely referenced by sergey-miryanov · Pull Request #140062 · python/cpython

X Title: GH-140061: Use _PyObject_IsUniquelyReferenced to check if object is uniquely referenced by sergey-miryanov · Pull Request #140062 · python/cpython

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

Open Graph Description: There are a lot of places where Py_REFCNT(..)==1 used. IIUC it is not correct for no-gil version. Issue: Use _PyObject_IsUniquelyReferenced instead of Py_REFCNT(x) == 1 for free-threaded compati...

X Description: There are a lot of places where Py_REFCNT(..)==1 used. IIUC it is not correct for no-gil version. Issue: Use _PyObject_IsUniquelyReferenced instead of Py_REFCNT(x) == 1 for free-threaded compati...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:dfe539ad-9630-70e5-37a1-0463aefcc3de
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC7EC:1E1FD2:B19E:EB99:6B0220C6
html-safe-nonce5cf4c7d2682f4a52ff2bd65c0f44f48ac327773cae3881866df3f1d80e71d3ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0VDOjFFMUZEMjpCMTlFOkVCOTk6NkIwMjIwQzYiLCJ2aXNpdG9yX2lkIjoiOTQxODYwMjIwNzAxOTA5MTkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5492fff3e156a8a6635fbcc710db24b59be8746bf215e401d8132d87c222eb7f
hovercard-subject-tagpull_request:2911338397
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/140062/commits
twitter:imagehttps://opengraph.githubassets.com/d3df209ce59e4eb93a94f0c90e226d24598dc57a0083a86ffe3b7e8a566b680c/python/cpython/pull/140062
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d3df209ce59e4eb93a94f0c90e226d24598dc57a0083a86ffe3b7e8a566b680c/python/cpython/pull/140062
og:image:altThere are a lot of places where Py_REFCNT(..)==1 used. IIUC it is not correct for no-gil version. Issue: Use _PyObject_IsUniquelyReferenced instead of Py_REFCNT(x) == 1 for free-threaded compati...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesergey-miryanov
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/140062/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F140062%2Fcommits
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F140062%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/140062/commits
Reloadhttps://github.com/python/cpython/pull/140062/commits
Reloadhttps://github.com/python/cpython/pull/140062/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
sergey-miryanov:140061-fix-checking-object-uniq-refhttps://github.com/sergey-miryanov/cpython/tree/140061-fix-checking-object-uniq-ref
Conversationhttps://github.com/python/cpython/pull/140062
Commits13 (13)https://github.com/python/cpython/pull/140062/commits
Checkshttps://github.com/python/cpython/pull/140062/checks
Files changedhttps://github.com/python/cpython/pull/140062/files
GH-140061: Use _PyObject_IsUniquelyReferenced to check if object is uniquely referencedhttps://github.com/python/cpython/pull/140062/commits#top
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
sergey-miryanov:140061-fix-checking-object-uniq-refhttps://github.com/sergey-miryanov/cpython/tree/140061-fix-checking-object-uniq-ref
Use _PyObject_IsUniquelyReferenced to check if object is uniquely referencedhttps://github.com/python/cpython/pull/140062/commits/311f629de0016e7c01c0b2c5ac5df7824cb8377f
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
311f629https://github.com/python/cpython/pull/140062/commits/311f629de0016e7c01c0b2c5ac5df7824cb8377f
https://github.com/python/cpython/tree/311f629de0016e7c01c0b2c5ac5df7824cb8377f
Fix build on linuxhttps://github.com/python/cpython/pull/140062/commits/d381a91a9703e34f69501deaaf8f37d52f26ca55
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
d381a91https://github.com/python/cpython/pull/140062/commits/d381a91a9703e34f69501deaaf8f37d52f26ca55
https://github.com/python/cpython/tree/d381a91a9703e34f69501deaaf8f37d52f26ca55
Return Py_REFCNT to test_weakref_capihttps://github.com/python/cpython/pull/140062/commits/d416ac64f9a8fbd4877510b37cd6f09054e26ba5
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
d416ac6https://github.com/python/cpython/pull/140062/commits/d416ac64f9a8fbd4877510b37cd6f09054e26ba5
https://github.com/python/cpython/tree/d416ac64f9a8fbd4877510b37cd6f09054e26ba5
Fix warning in ensure_shared_on_resizehttps://github.com/python/cpython/pull/140062/commits/45593e835c9401b453a971b7cf51a9635f478824
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
45593e8https://github.com/python/cpython/pull/140062/commits/45593e835c9401b453a971b7cf51a9635f478824
https://github.com/python/cpython/tree/45593e835c9401b453a971b7cf51a9635f478824
Address review suggestionshttps://github.com/python/cpython/pull/140062/commits/29899181c6a6a4bef297f262abb76c1e17cbcf3d
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
2989918https://github.com/python/cpython/pull/140062/commits/29899181c6a6a4bef297f262abb76c1e17cbcf3d
https://github.com/python/cpython/tree/29899181c6a6a4bef297f262abb76c1e17cbcf3d
Revert for assertshttps://github.com/python/cpython/pull/140062/commits/d3b0e31e6c38a223a94aad5a835692e69ac5d2f6
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
d3b0e31https://github.com/python/cpython/pull/140062/commits/d3b0e31e6c38a223a94aad5a835692e69ac5d2f6
https://github.com/python/cpython/tree/d3b0e31e6c38a223a94aad5a835692e69ac5d2f6
Revert for ctypeshttps://github.com/python/cpython/pull/140062/commits/375bf2cbc9a2d12a19092810c1b9c5c7ff246e50
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
375bf2chttps://github.com/python/cpython/pull/140062/commits/375bf2cbc9a2d12a19092810c1b9c5c7ff246e50
https://github.com/python/cpython/tree/375bf2cbc9a2d12a19092810c1b9c5c7ff246e50
Fix functoolshttps://github.com/python/cpython/pull/140062/commits/86079c4d62bfa4f364fbfec0254921bc40830749
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
86079c4https://github.com/python/cpython/pull/140062/commits/86079c4d62bfa4f364fbfec0254921bc40830749
https://github.com/python/cpython/tree/86079c4d62bfa4f364fbfec0254921bc40830749
Fix Py_REFCNT > 1https://github.com/python/cpython/pull/140062/commits/b8b54c74796e21690bdce7f7d76632f3e245d7a5
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
b8b54c7https://github.com/python/cpython/pull/140062/commits/b8b54c74796e21690bdce7f7d76632f3e245d7a5
https://github.com/python/cpython/tree/b8b54c74796e21690bdce7f7d76632f3e245d7a5
Fix compilationhttps://github.com/python/cpython/pull/140062/commits/307be2cd4d9230c9a4e09ba01bc09ec51eeb6135
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
307be2chttps://github.com/python/cpython/pull/140062/commits/307be2cd4d9230c9a4e09ba01bc09ec51eeb6135
https://github.com/python/cpython/tree/307be2cd4d9230c9a4e09ba01bc09ec51eeb6135
Add news entryhttps://github.com/python/cpython/pull/140062/commits/83f4b841b7c84444785beed3a6581c4dbb6f4230
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
83f4b84https://github.com/python/cpython/pull/140062/commits/83f4b841b7c84444785beed3a6581c4dbb6f4230
https://github.com/python/cpython/tree/83f4b841b7c84444785beed3a6581c4dbb6f4230
Merge branch 'main' into 140061-fix-checking-object-uniq-refhttps://github.com/python/cpython/pull/140062/commits/7074ae064a4b5149ef2f3e45a66bbf725f36eaaf
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
7074ae0https://github.com/python/cpython/pull/140062/commits/7074ae064a4b5149ef2f3e45a66bbf725f36eaaf
https://github.com/python/cpython/tree/7074ae064a4b5149ef2f3e45a66bbf725f36eaaf
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/140062/commits/1b2193f4d641f6bd924ad5c04af022d9608074ab
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
1b2193fhttps://github.com/python/cpython/pull/140062/commits/1b2193f4d641f6bd924ad5c04af022d9608074ab
https://github.com/python/cpython/tree/1b2193f4d641f6bd924ad5c04af022d9608074ab
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.