René's URL Explorer Experiment


Title: gh-149101: Implement PEP 788 by ZeroIntensity · Pull Request #149116 · python/cpython · GitHub

Open Graph Title: gh-149101: Implement PEP 788 by ZeroIntensity · Pull Request #149116 · python/cpython

X Title: gh-149101: Implement PEP 788 by ZeroIntensity · Pull Request #149116 · python/cpython

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

Open Graph Description: Hugo has graciously given me permission to backport this if we don't make the May 5th deadline, but let's try to get this done in time! I will write a full tutorial and migration guide once...

X Description: Hugo has graciously given me permission to backport this if we don't make the May 5th deadline, but let's try to get this done in time! I will write a full tutorial and migration gu...

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

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/_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:9a7f0c36-546b-7115-f19b-681f2f7dfb26
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9066:291B58:3127FB7:3E5E9C7:6B0203F7
html-safe-nonce43c526f05ad106ac0f9e1037927bc80678dc8ab974f0c7174dde99984f5224f9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDY2OjI5MUI1ODozMTI3RkI3OjNFNUU5Qzc6NkIwMjAzRjciLCJ2aXNpdG9yX2lkIjoiMzU2MDY5NzI5OTg0NzA5NjIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac93c2cec6a28d9a135f50217bdd093fc2f979eed950fe3d2df0abb184851b55e5
hovercard-subject-tagpull_request:3598712362
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/149116/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2ab50f913a7954fb3d7429d3c27dd7ea06aad83df494f327f22a575cdc54b65b/python/cpython/pull/149116
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2ab50f913a7954fb3d7429d3c27dd7ea06aad83df494f327f22a575cdc54b65b/python/cpython/pull/149116
og:image:altHugo has graciously given me permission to backport this if we don't make the May 5th deadline, but let's try to get this done in time! I will write a full tutorial and migration guide once...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameZeroIntensity
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/149116#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149116
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%2F149116
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/149116
Reloadhttps://github.com/python/cpython/pull/149116
Reloadhttps://github.com/python/cpython/pull/149116
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
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:pep-788https://github.com/ZeroIntensity/cpython/tree/pep-788
Conversationhttps://github.com/python/cpython/pull/149116
Commits93 (93)https://github.com/python/cpython/pull/149116/commits
Checkshttps://github.com/python/cpython/pull/149116/checks
Files changedhttps://github.com/python/cpython/pull/149116/files
gh-149101: Implement PEP 788https://github.com/python/cpython/pull/149116#top
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:pep-788https://github.com/ZeroIntensity/cpython/tree/pep-788
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Apr 28, 2026https://github.com/python/cpython/pull/149116#issue-4346413613
Please reload this pagehttps://github.com/python/cpython/pull/149116
Implement PEP 788 -- Protecting the C API from Interpreter Finalization #149101https://github.com/python/cpython/issues/149101
Please reload this pagehttps://github.com/python/cpython/pull/149116
ZeroIntensityhttps://github.com/ZeroIntensity
April 28, 2026 15:49https://github.com/python/cpython/pull/149116#commits-pushed-43b0798
https://github.com/ZeroIntensity
Copy the reference implementation.https://github.com/python/cpython/pull/149116/commits/43b07983632f9cea820f842be5709db77c668937
43b0798https://github.com/python/cpython/pull/149116/commits/43b07983632f9cea820f842be5709db77c668937
https://github.com/ZeroIntensity
Merge branch 'main' ofhttps://github.com/python/cpython/pull/149116/commits/722dbdf3e626e417d56acea70e8cacd5428753e2
https://github.com/python/cpythonhttps://github.com/python/cpython
into pep-788https://github.com/python/cpython/pull/149116/commits/722dbdf3e626e417d56acea70e8cacd5428753e2
722dbdfhttps://github.com/python/cpython/pull/149116/commits/722dbdf3e626e417d56acea70e8cacd5428753e2
https://github.com/ZeroIntensity
Document the new APIs.https://github.com/python/cpython/pull/149116/commits/73cccbb1503f4e2b2d0a7628bb0f25c6532d5106
73cccbbhttps://github.com/python/cpython/pull/149116/commits/73cccbb1503f4e2b2d0a7628bb0f25c6532d5106
https://github.com/ZeroIntensity
Add a whatsnew entry.https://github.com/python/cpython/pull/149116/commits/25e1cf05c7e63d06c2b5741b43775889d7399bac
25e1cf0https://github.com/python/cpython/pull/149116/commits/25e1cf05c7e63d06c2b5741b43775889d7399bac
https://github.com/ZeroIntensity
Fix stable ABI things.https://github.com/python/cpython/pull/149116/commits/af1022ac37ae562083bfe766df1f20e4659cdd71
af1022ahttps://github.com/python/cpython/pull/149116/commits/af1022ac37ae562083bfe766df1f20e4659cdd71
https://github.com/ZeroIntensity
Fix test_embed.https://github.com/python/cpython/pull/149116/commits/2fb8419dd37e67ae59b0cfaf1ecbe303aff452b9
2fb8419https://github.com/python/cpython/pull/149116/commits/2fb8419dd37e67ae59b0cfaf1ecbe303aff452b9
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
AA-Turnerhttps://github.com/AA-Turner
FFY00https://github.com/FFY00
encukouhttps://github.com/encukou
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
code ownershttps://github.com/python/cpython/blob/40dc61a0e0672810c3934da8cc2eda68027c24ce/.github/CODEOWNERS#L189
April 28, 2026 21:41https://github.com/python/cpython/pull/149116#event-24966658812
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 28, 2026https://github.com/python/cpython/pull/149116#event-24966660159
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 28, 2026 https://github.com/python/cpython/pull/149116#ref-issue-4344087702
Implement PEP 788 -- Protecting the C API from Interpreter Finalization #149101 https://github.com/python/cpython/issues/149101
ZeroIntensityhttps://github.com/ZeroIntensity
April 28, 2026 17:43https://github.com/python/cpython/pull/149116#commits-pushed-1096a32
https://github.com/ZeroIntensity
SIlly news entry.https://github.com/python/cpython/pull/149116/commits/1096a3261fadcea1d0f8aa45709d28fd63dff9cb
1096a32https://github.com/python/cpython/pull/149116/commits/1096a3261fadcea1d0f8aa45709d28fd63dff9cb
https://github.com/ZeroIntensity
Documentation fixes.https://github.com/python/cpython/pull/149116/commits/407062f0ed3b35fe2eff687941c1dbb0f4416f42
407062fhttps://github.com/python/cpython/pull/149116/commits/407062f0ed3b35fe2eff687941c1dbb0f4416f42
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Apr 28, 2026https://github.com/python/cpython/pull/149116#issuecomment-4339338890
Please reload this pagehttps://github.com/python/cpython/pull/149116
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#32572982https://app.readthedocs.org/projects/cpython-previews/builds/32572982/
53fa94bhttps://github.com/python/cpython/commit/53fa94b471c0d3ef79cd9b3b404e791770bd6570
mainhttps://cpython-previews.readthedocs.io/en/main/
40dc61ahttps://github.com/python/cpython/commit/40dc61a0e0672810c3934da8cc2eda68027c24ce
  🔍 Preview build   https://cpython-previews--149116.org.readthedocs.build/en/149116/
c-api/slots.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/slots.html
glossary.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/glossary.html
c-api/concrete.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/concrete.html
c-api/exceptions.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/exceptions.html
c-api/extension-modules.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/extension-modules.html
c-api/index.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/index.html
c-api/interp-lifecycle.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/interp-lifecycle.html
c-api/lifecycle.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/lifecycle.html
c-api/module.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/module.html
c-api/perfmaps.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/perfmaps.html
c-api/stable.htmlhttps://cpython-previews--149116.org.readthedocs.build/en/149116/c-api/stable.html
Please reload this pagehttps://github.com/python/cpython/pull/149116
ZeroIntensityhttps://github.com/ZeroIntensity
April 28, 2026 18:09https://github.com/python/cpython/pull/149116#commits-pushed-a33bdfc
https://github.com/ZeroIntensity
Make the sentinel const instead of changing the C analyzer.https://github.com/python/cpython/pull/149116/commits/a33bdfceb925ce922b9620e7cb1e91f56e8c90f2
a33bdfchttps://github.com/python/cpython/pull/149116/commits/a33bdfceb925ce922b9620e7cb1e91f56e8c90f2
https://github.com/ZeroIntensity
Fix the html IDs job.https://github.com/python/cpython/pull/149116/commits/c504a9f3bea3b6a6e68261fca2ba9e3c27e1cbc3
c504a9fhttps://github.com/python/cpython/pull/149116/commits/c504a9f3bea3b6a6e68261fca2ba9e3c27e1cbc3
https://github.com/encukou
Merge branch 'main' into pep-788https://github.com/python/cpython/pull/149116/commits/f95bfc79a93906b1d8a387d65ff64945598c975e
f95bfc7https://github.com/python/cpython/pull/149116/commits/f95bfc79a93906b1d8a387d65ff64945598c975e
https://github.com/encukou
encukouhttps://github.com/encukou
Apr 29, 2026 https://github.com/python/cpython/pull/149116#pullrequestreview-4195358359
View reviewed changes https://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e
encukouhttps://github.com/encukou
https://github.com/python/cpython/pull/149116#pullrequestreview-4195358359
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/c-api/interp-lifecycle.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-708e55b13fd6c4a41cc18ef9919d50b712e11d283742ea957274d64d079fe930
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/c-api/interp-lifecycle.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-708e55b13fd6c4a41cc18ef9919d50b712e11d283742ea957274d64d079fe930
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/c-api/interp-lifecycle.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-708e55b13fd6c4a41cc18ef9919d50b712e11d283742ea957274d64d079fe930
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/c-api/interp-lifecycle.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-708e55b13fd6c4a41cc18ef9919d50b712e11d283742ea957274d64d079fe930
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/c-api/interp-lifecycle.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-708e55b13fd6c4a41cc18ef9919d50b712e11d283742ea957274d64d079fe930
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/c-api/threads.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-acaf969f00997a424cf44f2bab3ce55f9058b3e946f56db679f1a22a779d6690
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/c-api/threads.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-acaf969f00997a424cf44f2bab3ce55f9058b3e946f56db679f1a22a779d6690
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/c-api/threads.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-acaf969f00997a424cf44f2bab3ce55f9058b3e946f56db679f1a22a779d6690
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/c-api/threads.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-acaf969f00997a424cf44f2bab3ce55f9058b3e946f56db679f1a22a779d6690
Please reload this pagehttps://github.com/python/cpython/pull/149116
Doc/whatsnew/3.15.rsthttps://github.com/python/cpython/pull/149116/files/f95bfc79a93906b1d8a387d65ff64945598c975e#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
Please reload this pagehttps://github.com/python/cpython/pull/149116
ZeroIntensityhttps://github.com/ZeroIntensity
April 29, 2026 08:24https://github.com/python/cpython/pull/149116#commits-pushed-a00bfbb
https://github.com/ZeroIntensity
https://github.com/encukou
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/149116/commits/a00bfbb074d6ba68785fcdc75bb8cc640bce7231
a00bfbbhttps://github.com/python/cpython/pull/149116/commits/a00bfbb074d6ba68785fcdc75bb8cc640bce7231
https://github.com/ZeroIntensity
https://github.com/encukou
Update Doc/c-api/threads.rsthttps://github.com/python/cpython/pull/149116/commits/6ca24990546096bd873009999ce4f42a9dadf88a
6ca2499https://github.com/python/cpython/pull/149116/commits/6ca24990546096bd873009999ce4f42a9dadf88a
https://github.com/ZeroIntensity
Fix lint and remove dead comment.https://github.com/python/cpython/pull/149116/commits/74259f8c2ebeb017d11c18c00a3660a8a9b45529
74259f8https://github.com/python/cpython/pull/149116/commits/74259f8c2ebeb017d11c18c00a3660a8a9b45529
https://github.com/ZeroIntensity
https://github.com/encukou
Improve new PyThreadState API docs.https://github.com/python/cpython/pull/149116/commits/eff9b407eb504d42b65b6a34b82f60e76dbd2e52
eff9b40https://github.com/python/cpython/pull/149116/commits/eff9b407eb504d42b65b6a34b82f60e76dbd2e52
https://github.com/ZeroIntensity
Fix lint.https://github.com/python/cpython/pull/149116/commits/bc78c10a472fdfecca9325b9e36b8c42cbb88da6
bc78c10https://github.com/python/cpython/pull/149116/commits/bc78c10a472fdfecca9325b9e36b8c42cbb88da6
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Apr 29, 2026https://github.com/python/cpython/pull/149116#event-25000476261
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 29, 2026https://github.com/python/cpython/pull/149116#issuecomment-4345814804
@ZeroIntensityhttps://github.com/ZeroIntensity
bc78c10https://github.com/python/cpython/commit/bc78c10a472fdfecca9325b9e36b8c42cbb88da6
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F149116%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F149116%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/149116
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Apr 29, 2026https://github.com/python/cpython/pull/149116#event-25000477831
https://github.com/encukou
encukouhttps://github.com/encukou
Apr 30, 2026https://github.com/python/cpython/pull/149116#issuecomment-4350515187
Please reload this pagehttps://github.com/python/cpython/pull/149116
https://github.com/encukou
encukouhttps://github.com/encukou
Apr 30, 2026https://github.com/python/cpython/pull/149116#issuecomment-4351293698
Please reload this pagehttps://github.com/python/cpython/pull/149116
#149179https://github.com/python/cpython/pull/149179
Please reload this pagehttps://github.com/python/cpython/pull/149116
ZeroIntensityhttps://github.com/ZeroIntensity
May 5, 2026 16:52https://github.com/python/cpython/pull/149116#commits-pushed-d75e6d9
https://github.com/ZeroIntensity
Remove usage of _Py_yield.https://github.com/python/cpython/pull/149116/commits/d75e6d945722a25d6e60eee1c300e339da116837
d75e6d9https://github.com/python/cpython/pull/149116/commits/d75e6d945722a25d6e60eee1c300e339da116837
https://github.com/ZeroIntensity
Fix issue with re-entrant clearing.https://github.com/python/cpython/pull/149116/commits/9f7b0142e2610bac7a0f10d64706050b5ea43aac
9f7b014https://github.com/python/cpython/pull/149116/commits/9f7b0142e2610bac7a0f10d64706050b5ea43aac
https://github.com/ZeroIntensity
Remove needless calls to _PyThreadState_Attach/_PyThreadState_Detach.https://github.com/python/cpython/pull/149116/commits/f9cb8f7089ce9dbdd132a85bdb3ae24a90edb52c
f9cb8f7https://github.com/python/cpython/pull/149116/commits/f9cb8f7089ce9dbdd132a85bdb3ae24a90edb52c
https://github.com/ZeroIntensity
Simplify locking in make_pre_finalization_calls.https://github.com/python/cpython/pull/149116/commits/29fa4193bff488ef5e1e59b3dd00266cf8008ac8
29fa419https://github.com/python/cpython/pull/149116/commits/29fa4193bff488ef5e1e59b3dd00266cf8008ac8
https://github.com/ZeroIntensity
Fix a few other bugs.https://github.com/python/cpython/pull/149116/commits/211edf1898694fe31bc5ae9e5be0f4d2df4c2021
211edf1https://github.com/python/cpython/pull/149116/commits/211edf1898694fe31bc5ae9e5be0f4d2df4c2021
https://github.com/ZeroIntensity
Move some tests to _testinternalcapi.https://github.com/python/cpython/pull/149116/commits/aaa516eff27ea316839f3b349b9d79512651e0a1
aaa516ehttps://github.com/python/cpython/pull/149116/commits/aaa516eff27ea316839f3b349b9d79512651e0a1
https://github.com/ZeroIntensity
Add a test stressing detachment behavior.https://github.com/python/cpython/pull/149116/commits/e1da86c9816151263ba66af29525b581eccc77c2
e1da86chttps://github.com/python/cpython/pull/149116/commits/e1da86c9816151263ba66af29525b581eccc77c2
https://github.com/ZeroIntensity
Fix unused test.https://github.com/python/cpython/pull/149116/commits/95cdd3ad9afcf6bb329523f2bcf824fb50f894ac
95cdd3ahttps://github.com/python/cpython/pull/149116/commits/95cdd3ad9afcf6bb329523f2bcf824fb50f894ac
https://github.com/ZeroIntensity
Release the GIL while joining the thread in test_thread_state_release…https://github.com/python/cpython/pull/149116/commits/e203fd5f80fa69d95d34003108566338478ffe18
e203fd5https://github.com/python/cpython/pull/149116/commits/e203fd5f80fa69d95d34003108566338478ffe18
https://github.com/ZeroIntensity
Fix detached gilstates being attached upon release.https://github.com/python/cpython/pull/149116/commits/398744539eb87240786e62c58827a156c50e2a3a
3987445https://github.com/python/cpython/pull/149116/commits/398744539eb87240786e62c58827a156c50e2a3a
https://github.com/ZeroIntensity
Don't use an actual thread for test_thread_state_release_with_destruc…https://github.com/python/cpython/pull/149116/commits/45d6ece9f4e29f3cd4f198dc86c3e78b354b4dce
45d6ecehttps://github.com/python/cpython/pull/149116/commits/45d6ece9f4e29f3cd4f198dc86c3e78b354b4dce
https://github.com/ZeroIntensity
Remove dead comment.https://github.com/python/cpython/pull/149116/commits/319b7003e34604a282d5c37ef4ddae603ce02d21
319b700https://github.com/python/cpython/pull/149116/commits/319b7003e34604a282d5c37ef4ddae603ce02d21
https://github.com/ZeroIntensity
Fix the C analyzer yet again.https://github.com/python/cpython/pull/149116/commits/a34dbc6d9ffbe0c4b7312ebd1ae606787e611b34
a34dbc6https://github.com/python/cpython/pull/149116/commits/a34dbc6d9ffbe0c4b7312ebd1ae606787e611b34
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
May 6, 2026https://github.com/python/cpython/pull/149116#event-25201271837
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 6, 2026https://github.com/python/cpython/pull/149116#issuecomment-4384695106
@ZeroIntensityhttps://github.com/ZeroIntensity
a34dbc6https://github.com/python/cpython/commit/a34dbc6d9ffbe0c4b7312ebd1ae606787e611b34
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F149116%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F149116%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/149116
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
May 6, 2026https://github.com/python/cpython/pull/149116#event-25201272533
https://github.com/colesbury
colesburyhttps://github.com/colesbury
May 6, 2026https://github.com/python/cpython/pull/149116#issuecomment-4390541565
https://gist.github.com/colesbury/e3ecafad30bb291d205c7be88c7fe7d4https://gist.github.com/colesbury/e3ecafad30bb291d205c7be88c7fe7d4
Please reload this pagehttps://github.com/python/cpython/pull/149116
ZeroIntensityhttps://github.com/ZeroIntensity
May 6, 2026 16:44https://github.com/python/cpython/pull/149116#commits-pushed-9e48209
https://github.com/ZeroIntensity
Merge branch 'main' ofhttps://github.com/python/cpython/pull/149116/commits/9e48209641444b7633c42d6d885d4549bacc5aa9
https://github.com/python/cpythonhttps://github.com/python/cpython
into pep-788https://github.com/python/cpython/pull/149116/commits/9e48209641444b7633c42d6d885d4549bacc5aa9
9e48209https://github.com/python/cpython/pull/149116/commits/9e48209641444b7633c42d6d885d4549bacc5aa9
https://github.com/ZeroIntensity
Fix whatsnew reference.https://github.com/python/cpython/pull/149116/commits/59e2d9a239996f43223b9801f76762b0b5dcfec9
59e2d9ahttps://github.com/python/cpython/pull/149116/commits/59e2d9a239996f43223b9801f76762b0b5dcfec9
https://github.com/ZeroIntensity
Fix typos.https://github.com/python/cpython/pull/149116/commits/7a6cc0ce8ddea6657b5835435a571d6ffb8d12d8
7a6cc0chttps://github.com/python/cpython/pull/149116/commits/7a6cc0ce8ddea6657b5835435a571d6ffb8d12d8
https://github.com/ZeroIntensity
Fix test name.https://github.com/python/cpython/pull/149116/commits/09451291d2d76e9e08f45ba6f5d07c2caa925bc0
0945129https://github.com/python/cpython/pull/149116/commits/09451291d2d76e9e08f45ba6f5d07c2caa925bc0
https://github.com/ZeroIntensity
Avoid using a second sentinel.https://github.com/python/cpython/pull/149116/commits/c5148d13dc79ccc00daebd3cfb8d647623df1776
c5148d1https://github.com/python/cpython/pull/149116/commits/c5148d13dc79ccc00daebd3cfb8d647623df1776
https://github.com/ZeroIntensity
Do the compare-exchange under the head lock.https://github.com/python/cpython/pull/149116/commits/adb985f99a31f1b679f18ecb25b8e2738d3e2c3b
adb985fhttps://github.com/python/cpython/pull/149116/commits/adb985f99a31f1b679f18ecb25b8e2738d3e2c3b
https://github.com/ZeroIntensity
Don't try to clear owned_guard in PyThreadState_Clear().https://github.com/python/cpython/pull/149116/commits/53fa94b471c0d3ef79cd9b3b404e791770bd6570
53fa94bhttps://github.com/python/cpython/pull/149116/commits/53fa94b471c0d3ef79cd9b3b404e791770bd6570
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
2b7c28ahttps://github.com/python/cpython/commit/2b7c28a4406da1b26dd0ebd38aa7371bed873ce4
May 6, 2026https://github.com/python/cpython/pull/149116#event-25237292609
Please reload this pagehttps://github.com/python/cpython/pull/149116
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
May 6, 2026 21:39https://github.com/python/cpython/pull/149116#event-25237294325
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
May 6, 2026https://github.com/python/cpython/pull/149116#event-25237294829
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
May 6, 2026https://github.com/python/cpython/pull/149116#issuecomment-4392392894
Please reload this pagehttps://github.com/python/cpython/pull/149116
https://github.com/befeleme
befelemehttps://github.com/befeleme
Jun 9, 2026 https://github.com/python/cpython/pull/149116#ref-issue-4623710964
test_thread_state_ensure is flaky on Fedora Linux s390x #151177 https://github.com/python/cpython/issues/151177
https://github.com/maikschulze
maikschulzehttps://github.com/maikschulze
Nov 16, 2026 https://github.com/python/cpython/pull/149116#ref-issue-2551256398
PyGILStateEnsure() (Probably) Crashes If Called After Finalization #124619 https://github.com/python/cpython/issues/124619
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%2F149116
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/python/cpython/pull/149116/files/9a04e9308d09bd007c722c3b63a2c45cf794197d
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/149116/files/4b446e78fe7ba99eae101acc22a98bb3a82d6956
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/FFY00
FFY00 https://github.com/FFY00
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/149116
Please reload this pagehttps://github.com/python/cpython/pull/149116
https://github.com/ZeroIntensity
https://github.com/bedevere-bot
https://github.com/encukou
https://github.com/colesbury
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.