| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:62e9a71f-ac1b-0a53-1ea2-07c941d4cca5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE70:65478:393CB1A:4BE9D14:6B0210F1 |
| html-safe-nonce | 891aa6b9e6df8f61bd40e40042b788212f823cf05901997a964bc80fe89964a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTcwOjY1NDc4OjM5M0NCMUE6NEJFOUQxNDo2QjAyMTBGMSIsInZpc2l0b3JfaWQiOiI3MjcxMTUzMDE0MjY4ODkxMzc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 61198268bb7c3dc533eb581277c07d58109d292c0f6e07bc4e7e86a4132364d0 |
| hovercard-subject-tag | pull_request:3614135302 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/149227/files |
| twitter:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| og:image:alt | Issue: gh-149225 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/149227/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149227%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149227%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/149227/files |
| Reload | https://github.com/python/cpython/pull/149227/files |
| Reload | https://github.com/python/cpython/pull/149227/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:critical-section-stable-abi-xs | https://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 page | https://github.com/python/cpython/pull/149227/files |
| Please reload this page | https://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.rst | https://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 page | https://github.com/python/cpython/pull/149227/files |
|
| https://github.com/python/cpython/pull/149227/files#diff-770af669571d1a80482a265b3866229172d2cd9975563226e52c45f2195e86b7 |
| Doc/data/stable_abi.dat | https://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 GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/149227/files |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116 |
| Doc/whatsnew/3.15.rst | https://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.h | https://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.h | https://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.c | https://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.py | https://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 GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/149227/files |
| Misc/NEWS.d/next/C_API/2026-05-01-14-49-09.gh-issue-149225.IdAYPZ.rst | https://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 }} |
| vstinner | https://github.com/vstinner |
| May 2, 2026 | https://github.com/python/cpython/pull/149227/files#r3176952683 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/149227/files |
| Please reload this page | https://github.com/python/cpython/pull/149227/files |
| Please reload this page | https://github.com/python/cpython/pull/149227/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |