René's URL Explorer Experiment


Title: gh-149162: Use _Py_LOCK_DONT_DETACH in intern_common by colesbury · Pull Request #149164 · python/cpython · GitHub

Open Graph Title: gh-149162: Use _Py_LOCK_DONT_DETACH in intern_common by colesbury · Pull Request #149164 · python/cpython

X Title: gh-149162: Use _Py_LOCK_DONT_DETACH in intern_common by colesbury · Pull Request #149164 · python/cpython

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

Open Graph Description: Avoids potential deadlocks with C++ static local initialization in extensions that call PyUnicode_InternFromString during one-time initialization. Issue: intern_common should use _Py_LOCK_DONT_DE...

X Description: Avoids potential deadlocks with C++ static local initialization in extensions that call PyUnicode_InternFromString during one-time initialization. Issue: intern_common should use _Py_LOCK_DONT_DE...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:96728cc9-a18b-665e-620e-336e842bad75
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA520:306B01:3F74B:54851:6AECBD8F
html-safe-nonce9e2a09f7e8128ac46ddc870cfd846e9ebe182f5a71448ac1e4200dc9659b49e9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTIwOjMwNkIwMTozRjc0Qjo1NDg1MTo2QUVDQkQ4RiIsInZpc2l0b3JfaWQiOiI3NzE3MDEyMTQ3NjMxMDc4Nzk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb58f58f1ff77baf66e0f1ebd445b045ba4e4ac570bda1217e9c4d3d703ef6c2c
hovercard-subject-tagpull_request:3604742016
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/149164/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5e39bc88b20b3fc555352d6201d4005663852981fbc798beddf2e4cb2fbc8403/python/cpython/pull/149164
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5e39bc88b20b3fc555352d6201d4005663852981fbc798beddf2e4cb2fbc8403/python/cpython/pull/149164
og:image:altAvoids potential deadlocks with C++ static local initialization in extensions that call PyUnicode_InternFromString during one-time initialization. Issue: intern_common should use _Py_LOCK_DONT_DE...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecolesbury
hostnamegithub.com
expected-hostnamegithub.com
None95ae5445dec4cded2bc4f9d97ede92b9116c0bf381a08a5c844b60b5bddcbc97
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
releasedb4ef601a7f034ae2a68e17d6eeaeb7ee9470192
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/149164#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149164
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%2F149164
Sign uphttps://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/149164
Reloadhttps://github.com/python/cpython/pull/149164
Reloadhttps://github.com/python/cpython/pull/149164
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.3k (2.3k)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/pulse
https://github.com/python/cpython
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-149162-intern-common-lock-dont-detachhttps://github.com/colesbury/cpython/tree/gh-149162-intern-common-lock-dont-detach
Conversationhttps://github.com/python/cpython/pull/149164
Commits2 (2)https://github.com/python/cpython/pull/149164/commits
Checkshttps://github.com/python/cpython/pull/149164/checks
Files changedhttps://github.com/python/cpython/pull/149164/files
gh-149162: Use _Py_LOCK_DONT_DETACH in intern_commonhttps://github.com/python/cpython/pull/149164#top
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-149162-intern-common-lock-dont-detachhttps://github.com/colesbury/cpython/tree/gh-149162-intern-common-lock-dont-detach
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Apr 29, 2026https://github.com/python/cpython/pull/149164#issue-4353381377
Please reload this pagehttps://github.com/python/cpython/pull/149164
intern_common should use _Py_LOCK_DONT_DETACH #149162https://github.com/python/cpython/issues/149162
Please reload this pagehttps://github.com/python/cpython/pull/149164
https://github.com/colesbury
pythongh-149162https://github.com/python/cpython/issues/149162
: Use _Py_LOCK_DONT_DETACH in intern_commonhttps://github.com/python/cpython/pull/149164/commits/5869873b422790b1ee81cedd196f0014c47c5c7b
5869873https://github.com/python/cpython/pull/149164/commits/5869873b422790b1ee81cedd196f0014c47c5c7b
https://github.com/colesbury
colesburyhttps://github.com/colesbury
mpagehttps://github.com/mpage
April 29, 2026 20:10https://github.com/python/cpython/pull/149164#event-25007147552
https://github.com/colesbury
colesburyhttps://github.com/colesbury
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Apr 29, 2026https://github.com/python/cpython/pull/149164#event-25007148389
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 29, 2026 https://github.com/python/cpython/pull/149164#ref-issue-4352850873
intern_common should use _Py_LOCK_DONT_DETACH #149162 https://github.com/python/cpython/issues/149162
https://github.com/colesbury
colesburyhttps://github.com/colesbury
April 29, 2026 20:12https://github.com/python/cpython/pull/149164#event-25007203410
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
Apr 29, 2026https://github.com/python/cpython/pull/149164#event-25007205537
https://github.com/mpage
mpagehttps://github.com/mpage
Apr 30, 2026 https://github.com/python/cpython/pull/149164#pullrequestreview-4202667653
View reviewed changes https://github.com/python/cpython/pull/149164/files/36a25cd59534d740b3b9dde19b915657a36da631
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
Apr 30, 2026https://github.com/python/cpython/pull/149164#event-25019923279
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
May 7, 2026https://github.com/python/cpython/pull/149164#event-25281511081
https://github.com/colesbury
Merge branch 'main' intohttps://github.com/python/cpython/pull/149164/commits/36a25cd59534d740b3b9dde19b915657a36da631
pythongh-149162https://github.com/python/cpython/issues/149162
-intern-common-lock-dont-detachhttps://github.com/python/cpython/pull/149164/commits/36a25cd59534d740b3b9dde19b915657a36da631
36a25cdhttps://github.com/python/cpython/pull/149164/commits/36a25cd59534d740b3b9dde19b915657a36da631
https://github.com/nascheme
naschemehttps://github.com/nascheme
Jul 16, 2026https://github.com/python/cpython/pull/149164#issuecomment-4988868598
Please reload this pagehttps://github.com/python/cpython/pull/149164
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Jul 16, 2026https://github.com/python/cpython/pull/149164#issuecomment-4990010852
…https://github.com/python/cpython/pull/149164
python/cpython#149164https://github.com/python/cpython/pull/149164
#149164 (comment)https://github.com/python/cpython/pull/149164#issuecomment-4988868598
#149164https://github.com/python/cpython/pull/149164
https://github.com/notifications/unsubscribe-auth/AAFAD6QNC2A5S5FFEA4A2Q35FBYS7AVCNFSNUABEKJSXA33TNF2G64TZHM4DCNJZHA4TMMJ3JFZXG5LFHM2DGNJTGM4DCMZXG6QXMAQhttps://github.com/notifications/unsubscribe-auth/AAFAD6QNC2A5S5FFEA4A2Q35FBYS7AVCNFSNUABEKJSXA33TNF2G64TZHM4DCNJZHA4TMMJ3JFZXG5LFHM2DGNJTGM4DCMZXG6QXMAQ
Please reload this pagehttps://github.com/python/cpython/pull/149164
https://github.com/nascheme
naschemehttps://github.com/nascheme
f62050dhttps://github.com/python/cpython/commit/f62050d65743f0c895f7e6d665936c4e86aa39d5
Jul 16, 2026https://github.com/python/cpython/pull/149164#event-28083695400
Please reload this pagehttps://github.com/python/cpython/pull/149164
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
Jul 16, 2026https://github.com/python/cpython/pull/149164#event-28083697269
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jul 16, 2026https://github.com/python/cpython/pull/149164#issuecomment-4994841177
@colesburyhttps://github.com/colesbury
@naschemehttps://github.com/nascheme
Please reload this pagehttps://github.com/python/cpython/pull/149164
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jul 16, 2026https://github.com/python/cpython/pull/149164#issuecomment-4994843701
@colesburyhttps://github.com/colesbury
@naschemehttps://github.com/nascheme
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/149164
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
naschemehttps://github.com/nascheme
Jul 16, 2026https://github.com/python/cpython/pull/149164#event-28083709766
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 16, 2026https://github.com/python/cpython/pull/149164#issuecomment-4994844311
GH-153814https://github.com/python/cpython/pull/153814
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/149164
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jul 16, 2026https://github.com/python/cpython/pull/149164#event-28083712515
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 16, 2026https://github.com/python/cpython/pull/149164#issuecomment-4995259944
GH-153815https://github.com/python/cpython/pull/153815
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/149164
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Jul 16, 2026https://github.com/python/cpython/pull/149164#event-28085697225
naschemehttps://github.com/nascheme
Jul 16, 2026 https://github.com/python/cpython/pull/149164#ref-commit-f5c4880
https://github.com/nascheme
https://github.com/colesbury
[3.14]https://github.com/python/cpython/commit/f5c4880151b609e0a0a0b05c292d36b18038c061
gh-149162https://github.com/python/cpython/issues/149162
: Use _Py_LOCK_DONT_DETACH in intern_common (https://github.com/python/cpython/commit/f5c4880151b609e0a0a0b05c292d36b18038c061
gh-149164https://github.com/python/cpython/pull/149164
)…https://github.com/python/cpython/commit/f5c4880151b609e0a0a0b05c292d36b18038c061
f5c4880https://github.com/python/cpython/commit/f5c4880151b609e0a0a0b05c292d36b18038c061
gh-153815https://github.com/python/cpython/pull/153815
f62050dhttps://github.com/python/cpython/commit/f62050d65743f0c895f7e6d665936c4e86aa39d5
naschemehttps://github.com/nascheme
Jul 16, 2026 https://github.com/python/cpython/pull/149164#ref-commit-38c3f11
https://github.com/miss-islington
https://github.com/colesbury
[3.15]https://github.com/python/cpython/commit/38c3f112c383d1f61a3e2d2d4ff589a5ca570944
gh-149162https://github.com/python/cpython/issues/149162
: Use _Py_LOCK_DONT_DETACH in intern_common (https://github.com/python/cpython/commit/38c3f112c383d1f61a3e2d2d4ff589a5ca570944
gh-149164https://github.com/python/cpython/pull/149164
)…https://github.com/python/cpython/commit/38c3f112c383d1f61a3e2d2d4ff589a5ca570944
38c3f11https://github.com/python/cpython/commit/38c3f112c383d1f61a3e2d2d4ff589a5ca570944
gh-153814https://github.com/python/cpython/pull/153814
f62050dhttps://github.com/python/cpython/commit/f62050d65743f0c895f7e6d665936c4e86aa39d5
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%2F149164
https://github.com/mpage
mpage https://github.com/mpage
https://github.com/python/cpython/pull/149164/files/36a25cd59534d740b3b9dde19b915657a36da631
Please reload this pagehttps://github.com/python/cpython/pull/149164
https://github.com/nascheme
nascheme https://github.com/nascheme
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/149164
https://github.com/colesbury
https://github.com/nascheme
https://github.com/mpage
https://github.com/StanFromIreland
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.