René's URL Explorer Experiment


Title: gh-149225: Expose Py_CriticalSection in Stable ABI by encukou · Pull Request #149227 · python/cpython · GitHub

Open Graph Title: gh-149225: Expose Py_CriticalSection in Stable ABI by encukou · Pull Request #149227 · python/cpython

X Title: gh-149225: Expose Py_CriticalSection in Stable ABI by encukou · Pull Request #149227 · python/cpython

Description: Issue: gh-149225

Open Graph Description: Issue: gh-149225

X Description: Issue: gh-149225

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

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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:62e9a71f-ac1b-0a53-1ea2-07c941d4cca5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE70:65478:393CB1A:4BE9D14:6B0210F1
html-safe-nonce891aa6b9e6df8f61bd40e40042b788212f823cf05901997a964bc80fe89964a9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTcwOjY1NDc4OjM5M0NCMUE6NEJFOUQxNDo2QjAyMTBGMSIsInZpc2l0b3JfaWQiOiI3MjcxMTUzMDE0MjY4ODkxMzc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac61198268bb7c3dc533eb581277c07d58109d292c0f6e07bc4e7e86a4132364d0
hovercard-subject-tagpull_request:3614135302
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/149227/files
twitter:imagehttps://avatars.githubusercontent.com/u/302922?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/302922?s=400&v=4
og:image:altIssue: gh-149225
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/python/cpython/pull/149227/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149227%2Ffiles
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%2F149227%2Ffiles
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/149227/files
Reloadhttps://github.com/python/cpython/pull/149227/files
Reloadhttps://github.com/python/cpython/pull/149227/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
encukou:critical-section-stable-abi-xshttps://github.com/encukou/cpython/tree/critical-section-stable-abi-xs
Conversation 7 https://github.com/python/cpython/pull/149227
Commits 7 https://github.com/python/cpython/pull/149227/commits
Checks 53 https://github.com/python/cpython/pull/149227/checks
Files changed 10 https://github.com/python/cpython/pull/149227/files
gh-149225: Expose Py_CriticalSection in Stable ABI https://github.com/python/cpython/pull/149227/files#top
Show all changes 7 commits https://github.com/python/cpython/pull/149227/files
88be4b3 Expose Py_CriticalSection in Stable ABI encukou Apr 7, 2026 https://github.com/python/cpython/pull/149227/commits/88be4b3f678dd4762590fdd4d3523a8312a4dca8
d93282d Add blurb encukou May 1, 2026 https://github.com/python/cpython/pull/149227/commits/d93282d331f0484ef34911b09e0993b80ce8558d
7fe42f4 Clarify the functions are no-ops in GIL builds encukou May 1, 2026 https://github.com/python/cpython/pull/149227/commits/7fe42f43b09e0539c5028d88711e84e948d35b2a
7098cb9 Whitespace fix encukou May 4, 2026 https://github.com/python/cpython/pull/149227/commits/7098cb9ea7a6bb42eb560d288f8d73d49e5ba7f8
c18af1b What's New entry encukou May 4, 2026 https://github.com/python/cpython/pull/149227/commits/c18af1b7d48ffe4db0d849de630fd45281d6da89
9be8cb5 Merge in the main branch encukou May 4, 2026 https://github.com/python/cpython/pull/149227/commits/9be8cb54d84c30424f9567c0287823a667a08c65
b289183 Merge branch 'main' into critical-section-stable-abi-xs encukou May 4, 2026 https://github.com/python/cpython/pull/149227/commits/b289183987037c3d904876c1cfebce80c3c6844d
Clear filters https://github.com/python/cpython/pull/149227/files
Please reload this pagehttps://github.com/python/cpython/pull/149227/files
Please reload this pagehttps://github.com/python/cpython/pull/149227/files
synchronization.rst https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
stable_abi.dat https://github.com/python/cpython/pull/149227/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3
3.15.rst https://github.com/python/cpython/pull/149227/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
critical_section.h https://github.com/python/cpython/pull/149227/files#diff-ecf78b1af8cff87b3ae3899029f7ba1223286415cc64ef2f0d5bcf58bb540cec
critical_section.h https://github.com/python/cpython/pull/149227/files#diff-7ec00e57c13285f16087144757f63489bc337e0c30bfe78ab74a73ad3f7bea95
extension.c https://github.com/python/cpython/pull/149227/files#diff-02265e113c37de1cbaefe6ff43542737edbb93834ceae1a8fdd030e9882a41c0
test_stable_abi_ctypes.py https://github.com/python/cpython/pull/149227/files#diff-e23b7eb96b17ef58f28bd65875edc3ec27eeb85be4c342d0c2d9c74121a74c0b
2026-05-01-14-49-09.gh-issue-149225.IdAYPZ.rst https://github.com/python/cpython/pull/149227/files#diff-7368ab125ddee60fcec8b6b3925ada9b98362df009fe5d9c70ff07bf5a6de026
stable_abi.toml https://github.com/python/cpython/pull/149227/files#diff-f098b9ddf231fb279a9f5b4b8ed22c4241e1ffed7fe0deffb2c76bb2126d2911
python3dll.c https://github.com/python/cpython/pull/149227/files#diff-be34b08a4cde4f0bfbf86bc3c427e4a3dcc3f2f472061a50d00040a0d8a57c88
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/c-api/synchronization.rsthttps://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
View file https://github.com/encukou/cpython/blob/b289183987037c3d904876c1cfebce80c3c6844d/Doc/c-api/synchronization.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149227/{{ revealButtonHref }}
https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
Please reload this pagehttps://github.com/python/cpython/pull/149227/files
https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7
Doc/data/stable_abi.dathttps://github.com/python/cpython/pull/149227/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3
View file https://github.com/encukou/cpython/blob/b289183987037c3d904876c1cfebce80c3c6844d/Doc/data/stable_abi.dat
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/149227/files
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.15.rsthttps://github.com/python/cpython/pull/149227/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
View file https://github.com/encukou/cpython/blob/b289183987037c3d904876c1cfebce80c3c6844d/Doc/whatsnew/3.15.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149227/{{ revealButtonHref }}
https://github.com/python/cpython/pull/149227/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
https://github.com/python/cpython/pull/149227/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
Include/cpython/critical_section.hhttps://github.com/python/cpython/pull/149227/files#diff-ecf78b1af8cff87b3ae3899029f7ba1223286415cc64ef2f0d5bcf58bb540cec
View file https://github.com/encukou/cpython/blob/b289183987037c3d904876c1cfebce80c3c6844d/Include/cpython/critical_section.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149227/{{ revealButtonHref }}
https://github.com/python/cpython/pull/149227/files#diff-ecf78b1af8cff87b3ae3899029f7ba1223286415cc64ef2f0d5bcf58bb540cec
https://github.com/python/cpython/pull/149227/files#diff-ecf78b1af8cff87b3ae3899029f7ba1223286415cc64ef2f0d5bcf58bb540cec
https://github.com/python/cpython/pull/149227/files#diff-ecf78b1af8cff87b3ae3899029f7ba1223286415cc64ef2f0d5bcf58bb540cec
https://github.com/python/cpython/pull/149227/files#diff-ecf78b1af8cff87b3ae3899029f7ba1223286415cc64ef2f0d5bcf58bb540cec
Include/critical_section.hhttps://github.com/python/cpython/pull/149227/files#diff-7ec00e57c13285f16087144757f63489bc337e0c30bfe78ab74a73ad3f7bea95
View file https://github.com/encukou/cpython/blob/b289183987037c3d904876c1cfebce80c3c6844d/Include/critical_section.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149227/{{ revealButtonHref }}
https://github.com/python/cpython/pull/149227/files#diff-7ec00e57c13285f16087144757f63489bc337e0c30bfe78ab74a73ad3f7bea95
https://github.com/python/cpython/pull/149227/files#diff-7ec00e57c13285f16087144757f63489bc337e0c30bfe78ab74a73ad3f7bea95
Lib/test/test_cext/extension.chttps://github.com/python/cpython/pull/149227/files#diff-02265e113c37de1cbaefe6ff43542737edbb93834ceae1a8fdd030e9882a41c0
View file https://github.com/encukou/cpython/blob/b289183987037c3d904876c1cfebce80c3c6844d/Lib/test/test_cext/extension.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149227/{{ revealButtonHref }}
https://github.com/python/cpython/pull/149227/files#diff-02265e113c37de1cbaefe6ff43542737edbb93834ceae1a8fdd030e9882a41c0
https://github.com/python/cpython/pull/149227/files#diff-02265e113c37de1cbaefe6ff43542737edbb93834ceae1a8fdd030e9882a41c0
Lib/test/test_stable_abi_ctypes.pyhttps://github.com/python/cpython/pull/149227/files#diff-e23b7eb96b17ef58f28bd65875edc3ec27eeb85be4c342d0c2d9c74121a74c0b
View file https://github.com/encukou/cpython/blob/b289183987037c3d904876c1cfebce80c3c6844d/Lib/test/test_stable_abi_ctypes.py
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/149227/files
Misc/NEWS.d/next/C_API/2026-05-01-14-49-09.gh-issue-149225.IdAYPZ.rsthttps://github.com/python/cpython/pull/149227/files#diff-7368ab125ddee60fcec8b6b3925ada9b98362df009fe5d9c70ff07bf5a6de026
View file https://github.com/encukou/cpython/blob/b289183987037c3d904876c1cfebce80c3c6844d/Misc/NEWS.d/next/C_API/2026-05-01-14-49-09.gh-issue-149225.IdAYPZ.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149227/{{ revealButtonHref }}
vstinnerhttps://github.com/vstinner
May 2, 2026https://github.com/python/cpython/pull/149227/files#r3176952683
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149227/files
Please reload this pagehttps://github.com/python/cpython/pull/149227/files
Please reload this pagehttps://github.com/python/cpython/pull/149227/files
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.