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: 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 this is merged; I want to first make sure that this lands before the beta freeze. Issue: gh-149101

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d24342ff-b638-4bb4-c25b-d684cc655580
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD69E:E0ADF:14B4ED8:1A22D14:6B02110E
html-safe-noncec9d24abf526b65ce24ddd13fa17c4709dd087fb91f62c09fa70dcbe6101059ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjlFOkUwQURGOjE0QjRFRDg6MUEyMkQxNDo2QjAyMTEwRSIsInZpc2l0b3JfaWQiOiIyODM4MjYyODQxMjE5NTI1MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6ad4a9265de38fb1d7bc184cd7c4665799309ca2756a59fbf4ac78a65f970ef7
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/149116/files
twitter:imagehttps://avatars.githubusercontent.com/u/49501366?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/49501366?s=400&v=4
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: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/149116/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149116%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%2F149116%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/149116/files
Reloadhttps://github.com/python/cpython/pull/149116/files
Reloadhttps://github.com/python/cpython/pull/149116/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
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:pep-788https://github.com/ZeroIntensity/cpython/tree/pep-788
Conversation 147 https://github.com/python/cpython/pull/149116
Commits 93 https://github.com/python/cpython/pull/149116/commits
Checks 80 https://github.com/python/cpython/pull/149116/checks
Files changed 21 https://github.com/python/cpython/pull/149116/files
gh-149101: Implement PEP 788 https://github.com/python/cpython/pull/149116/files#top
Show all changes 93 commits https://github.com/python/cpython/pull/149116/files
43b0798 Copy the reference implementation. ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/43b07983632f9cea820f842be5709db77c668937
722dbdf Merge branch 'main' of https://github.com/python/cpython into pep-788 ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/722dbdf3e626e417d56acea70e8cacd5428753e2
73cccbb Document the new APIs. ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/73cccbb1503f4e2b2d0a7628bb0f25c6532d5106
25e1cf0 Add a whatsnew entry. ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/25e1cf05c7e63d06c2b5741b43775889d7399bac
af1022a Fix stable ABI things. ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/af1022ac37ae562083bfe766df1f20e4659cdd71
2fb8419 Fix test_embed. ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/2fb8419dd37e67ae59b0cfaf1ecbe303aff452b9
1096a32 SIlly news entry. ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/1096a3261fadcea1d0f8aa45709d28fd63dff9cb
407062f Documentation fixes. ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/407062f0ed3b35fe2eff687941c1dbb0f4416f42
a33bdfc Make the sentinel const instead of changing the C analyzer. ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/a33bdfceb925ce922b9620e7cb1e91f56e8c90f2
c504a9f Fix the html IDs job. ZeroIntensity Apr 28, 2026 https://github.com/python/cpython/pull/149116/commits/c504a9f3bea3b6a6e68261fca2ba9e3c27e1cbc3
f95bfc7 Merge branch 'main' into pep-788 encukou Apr 29, 2026 https://github.com/python/cpython/pull/149116/commits/f95bfc79a93906b1d8a387d65ff64945598c975e
a00bfbb Apply suggestions from code review ZeroIntensity Apr 29, 2026 https://github.com/python/cpython/pull/149116/commits/a00bfbb074d6ba68785fcdc75bb8cc640bce7231
6ca2499 Update Doc/c-api/threads.rst ZeroIntensity Apr 29, 2026 https://github.com/python/cpython/pull/149116/commits/6ca24990546096bd873009999ce4f42a9dadf88a
74259f8 Fix lint and remove dead comment. ZeroIntensity Apr 29, 2026 https://github.com/python/cpython/pull/149116/commits/74259f8c2ebeb017d11c18c00a3660a8a9b45529
eff9b40 Improve new PyThreadState API docs. ZeroIntensity Apr 29, 2026 https://github.com/python/cpython/pull/149116/commits/eff9b407eb504d42b65b6a34b82f60e76dbd2e52
bc78c10 Fix lint. ZeroIntensity Apr 29, 2026 https://github.com/python/cpython/pull/149116/commits/bc78c10a472fdfecca9325b9e36b8c42cbb88da6
0a30c25 Apply suggestions from code review ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/0a30c258e89357e8fa0213fc638ca09f5875b831
fe3d8a1 Update Doc/c-api/threads.rst ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/fe3d8a17434e828ecc74d70fbef1d5fe368c9390
ad69f96 Fix line endings. ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/ad69f967294e9879b866385a21f9d4666dc2b459
1623556 Remove accidental formatting changes. ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/1623556a8362c86cc662793b8f19678e4a63465c
cad8786 Fix memory ordering for the event reset. ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/cad8786975dfd84dd628e12492fdb8c4a1a1e01d
e042656 Improve NO_TSTATE_SENTINEL. ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/e042656a7622afcee4f217ee0035de8a9e3c3798
6a05c90 Fix some test things. ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/6a05c904faa889210bfff12f78ebe0cbffddacc1
728ee3a Remove note about deallocation. ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/728ee3a16c03e4cd45893df1709860e84ede7d0e
d9e1170 Explicitly mark implementation details in the docs. ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/d9e11701025ac211ee9ff2a2fe5eca97a7f642d9
2f824d3 Add missing versionadded markers. ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/2f824d36f548ecf06a070beb80bc4844a2c56814
ab9d783 Remove dead comment. ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/ab9d7836b382d1a86f24575527d01f6c0ccd4b6a
10e241e Merge branch 'main' of https://github.com/python/cpython into pep-788 ZeroIntensity Apr 30, 2026 https://github.com/python/cpython/pull/149116/commits/10e241e01b9fc01c4b81956e3151db6051fcb769
25687af Some improvements to PyThreadState_Release() based on review. ZeroIntensity May 1, 2026 https://github.com/python/cpython/pull/149116/commits/25687afefe7f9efaee1c3bdb0cc7049efef8a850
6d3b40a Add a comment. ZeroIntensity May 1, 2026 https://github.com/python/cpython/pull/149116/commits/6d3b40ac6f05bcdd00bc033c70f4496007b4b90c
0c08141 Remove _ prefix from struct names. ZeroIntensity May 1, 2026 https://github.com/python/cpython/pull/149116/commits/0c081416911763905d7799568bc2d2eb0be229cb
31f1155 Only issue a fatal error for KeyboardInterrupt. ZeroIntensity May 1, 2026 https://github.com/python/cpython/pull/149116/commits/31f11553bee523b545011486c5156d3b0c82dcae
6c62b40 Don't use a full PyThreadState for NO_TSTATE_SENTINEL on release builds. ZeroIntensity May 1, 2026 https://github.com/python/cpython/pull/149116/commits/6c62b4085cd693ac45cd6e0fa87ae492f6cb76d7
d8ce02d Fix race during event spinning. ZeroIntensity May 1, 2026 https://github.com/python/cpython/pull/149116/commits/d8ce02de8d424ebf1660f7a0920d0ee926ecaf8a
e105120 Merge branch 'main' of https://github.com/python/cpython into pep-788 ZeroIntensity May 1, 2026 https://github.com/python/cpython/pull/149116/commits/e105120f6133bf20eb24f46b6f88d102269b5dd7
eb73203 Merge in the main branch encukou May 4, 2026 https://github.com/python/cpython/pull/149116/commits/eb7320320667dac39c26fa3c21146cc325d0c9e4
09a0d69 Switch to PyThreadStateToken encukou May 4, 2026 https://github.com/python/cpython/pull/149116/commits/09a0d692c6834656d1f95b1f988f3d2f640d6058
5a3f808 Remove ensure_tstate_is_valid encukou May 4, 2026 https://github.com/python/cpython/pull/149116/commits/5a3f8088d868341961be794eab415ad914328713
d43ba9d Merge in the main branch encukou May 4, 2026 https://github.com/python/cpython/pull/149116/commits/d43ba9d7267bb37746c75e304e19fef11e2e7280
9a04e93 Apply suggestions from code review ZeroIntensity May 4, 2026 https://github.com/python/cpython/pull/149116/commits/9a04e9308d09bd007c722c3b63a2c45cf794197d
a382721 Simply exit instead of emitting a fatal error upon CTRL^C. ZeroIntensity May 4, 2026 https://github.com/python/cpython/pull/149116/commits/a3827219eda3a5c701169c57fa237d2700b786c8
03862fb Hardcode zero as the main interpreter ID. ZeroIntensity May 4, 2026 https://github.com/python/cpython/pull/149116/commits/03862fb2e3882074c89201e9db7410f40617626a
df720a5 Fix leak in get_main_interp_guard. ZeroIntensity May 4, 2026 https://github.com/python/cpython/pull/149116/commits/df720a51528095c1d93c2aa3de69a707c7081873
767c894 Improve readability and fix warning. ZeroIntensity May 4, 2026 https://github.com/python/cpython/pull/149116/commits/767c8940efacb2c8fe2dcf7df8a6dc1889ba0e96
38a2153 Use void instead of a struct for PyThreadStateToken. ZeroIntensity May 4, 2026 https://github.com/python/cpython/pull/149116/commits/38a21532ea9a202f892ac4acec2de51b56bbd9e5
321c783 Run test_embed with TSan. ZeroIntensity May 4, 2026 https://github.com/python/cpython/pull/149116/commits/321c7836a5081d4492fce549fd3e9052c1778e96
811ca19 Switch to a single atomic field instead of using locks and events. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/811ca19c508eb52143474ab2f23d6e9fa627823a
ac58a16 Fix existing thread-safety issue with interp_has_threads(). ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/ac58a16a2f9dfda7716483cb0012943b6ae2476b
4ced3a1 Use the parking lot to avoid eating CPU cycles. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/4ced3a16ddf67b2b0303fc86caf4cd9a40ce0d24
9345afd Stupid merge conflicts. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/9345afd498de8a59b5f22d0f4cc6473d9e62b5d0
11cbe5c Fix C analyzer. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/11cbe5cd908f2942f13ee91560c3e11627308696
99098d7 Stupid warnings. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/99098d76269edd7c1ad542035516353aad77e483
1c184f1 Fix thread leaks in test_embed. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/1c184f125a6030a32e4a20f6a0c626c1d2495f96
af57d9d Fix deadlock in test_atexit. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/af57d9deb9da431a7cd42dad2546810e469bb697
7289037 Fix missing newline. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/72890378bac2911242775b9b21c75a9caa85649c
a538acc Remove stray newline change from pycore_lock.h ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/a538accc03da4f38d6053752701566aadc44b6dc
4bec1e7 Use sequential memory ordering in _testembed. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/4bec1e77b9773d76f00028f781e00ae7c7b0721d
5d28e1a Potentially fix some things? ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/5d28e1a1ae7dee178ca557696b398be2e9843e49
62b137e Add a test stressing a lot of threads against finalization. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/62b137ecb1f35aa780e19015e12b66112db24078
2378c88 Export _Py_yield. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/2378c88419641a5863d97519f974aefb4cc32d23
e7466f1 Fix race in interp_has_threads. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/e7466f1c925b9c9f02e88c8249d53b943db9ab42
5d797cf Fix formatting. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/5d797cf5f9ae9ea3df6d9e9e747ea619ac46268c
5f1d2e0 Merge branch 'main' of https://github.com/python/cpython into pep-788 ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/5f1d2e02de0c544f9398e7b7e3209210dd2387c5
4b446e7 Close owned guards before deleting them, not after. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/4b446e78fe7ba99eae101acc22a98bb3a82d6956
b4db0a6 Add assertions to ensure that the guard count is zero upon reinitiali… ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/b4db0a6a02f74efd2e182e8d75c6120d383cb6f9
c43cae7 Move PyInterpreterGuard_Close call to after the deletion again. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/c43cae7866c5c7a84392733349a6081b38e74deb
5e25ba9 Update Python/pystate.c ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/5e25ba9794deeb73462d6cb2d9a8154cc49cc398
08e845c Update Python/pylifecycle.c ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/08e845c658f19f4bebb48d535b4f922b3ffa5714
17b0e2a Update Doc/c-api/interp-lifecycle.rst ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/17b0e2a3ea95838d71d4a72e8f77e9c0803a5946
f60d888 Use PyThreadStateToken in the example. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/f60d8886a70b708c972b3de3a81c4c4fa26dda7e
dd930ef Merge branch 'pep-788' of https://github.com/zerointensity/cpython in… ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/dd930ef5c96e257b08af969c46cec4bdb1f2bae2
7aa2f65 Fix swapped links the whatsnew. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/7aa2f65bcdb7e21875be2277dc29a5a69e373a91
541169d Fix failure note + use affirmative tone in PyInterpreterView_FromMain… ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/541169dca68a7af5bf058e052c477ee98de2c08e
d75e6d9 Remove usage of _Py_yield. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/d75e6d945722a25d6e60eee1c300e339da116837
9f7b014 Fix issue with re-entrant clearing. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/9f7b0142e2610bac7a0f10d64706050b5ea43aac
f9cb8f7 Remove needless calls to _PyThreadState_Attach/_PyThreadState_Detach. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/f9cb8f7089ce9dbdd132a85bdb3ae24a90edb52c
29fa419 Simplify locking in make_pre_finalization_calls. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/29fa4193bff488ef5e1e59b3dd00266cf8008ac8
211edf1 Fix a few other bugs. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/211edf1898694fe31bc5ae9e5be0f4d2df4c2021
aaa516e Move some tests to _testinternalcapi. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/aaa516eff27ea316839f3b349b9d79512651e0a1
e1da86c Add a test stressing detachment behavior. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/e1da86c9816151263ba66af29525b581eccc77c2
95cdd3a Fix unused test. ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/95cdd3ad9afcf6bb329523f2bcf824fb50f894ac
e203fd5 Release the GIL while joining the thread in test_thread_state_release… ZeroIntensity May 5, 2026 https://github.com/python/cpython/pull/149116/commits/e203fd5f80fa69d95d34003108566338478ffe18
3987445 Fix detached gilstates being attached upon release. ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/398744539eb87240786e62c58827a156c50e2a3a
45d6ece Don't use an actual thread for test_thread_state_release_with_destruc… ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/45d6ece9f4e29f3cd4f198dc86c3e78b354b4dce
319b700 Remove dead comment. ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/319b7003e34604a282d5c37ef4ddae603ce02d21
a34dbc6 Fix the C analyzer yet again. ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/a34dbc6d9ffbe0c4b7312ebd1ae606787e611b34
9e48209 Merge branch 'main' of https://github.com/python/cpython into pep-788 ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/9e48209641444b7633c42d6d885d4549bacc5aa9
59e2d9a Fix whatsnew reference. ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/59e2d9a239996f43223b9801f76762b0b5dcfec9
7a6cc0c Fix typos. ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/7a6cc0ce8ddea6657b5835435a571d6ffb8d12d8
0945129 Fix test name. ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/09451291d2d76e9e08f45ba6f5d07c2caa925bc0
c5148d1 Avoid using a second sentinel. ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/c5148d13dc79ccc00daebd3cfb8d647623df1776
adb985f Do the compare-exchange under the head lock. ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/adb985f99a31f1b679f18ecb25b8e2738d3e2c3b
53fa94b Don't try to clear owned_guard in PyThreadState_Clear(). ZeroIntensity May 6, 2026 https://github.com/python/cpython/pull/149116/commits/53fa94b471c0d3ef79cd9b3b404e791770bd6570
Clear filters https://github.com/python/cpython/pull/149116/files
Please reload this pagehttps://github.com/python/cpython/pull/149116/files
Please reload this pagehttps://github.com/python/cpython/pull/149116/files
interp-lifecycle.rst https://github.com/python/cpython/pull/149116/files#diff-708e55b13fd6c4a41cc18ef9919d50b712e11d283742ea957274d64d079fe930
threads.rst https://github.com/python/cpython/pull/149116/files#diff-acaf969f00997a424cf44f2bab3ce55f9058b3e946f56db679f1a22a779d6690
stable_abi.dat https://github.com/python/cpython/pull/149116/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3
free-threading-extensions.rst https://github.com/python/cpython/pull/149116/files#diff-39a845503e7c6ba515fdd9565bc9aa9602b6b9e9ac180efc4cc7f03dc619b7d7
3.15.rst https://github.com/python/cpython/pull/149116/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
pystate.h https://github.com/python/cpython/pull/149116/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f
pycore_interp_structs.h https://github.com/python/cpython/pull/149116/files#diff-6075b6142803c1eccc213aa150704fd639443c65311d5999f69a5ea77cb76756
pycore_pystate.h https://github.com/python/cpython/pull/149116/files#diff-76818a128869986e3de4f16dae0257c430008546f04764cd7ad8254abfa5ce83
pystate.h https://github.com/python/cpython/pull/149116/files#diff-72fdb9ce4eb86f7a79872b667270cf35110b62609cc8765aa3c795907c99f431
tsan.py https://github.com/python/cpython/pull/149116/files#diff-ab6f1888c67c40d3dbf24c009462fb5f5633204fa67f9234548db77392cd08ea
test_embed.py https://github.com/python/cpython/pull/149116/files#diff-573be25566e43f5adc6650ad1b58d106dbbd79521cb9c6e6d5df9588616a1ffd
test_stable_abi_ctypes.py https://github.com/python/cpython/pull/149116/files#diff-e23b7eb96b17ef58f28bd65875edc3ec27eeb85be4c342d0c2d9c74121a74c0b
2026-04-28-17-43-12.gh-issue-149101.HTuHTb.rst https://github.com/python/cpython/pull/149116/files#diff-b0253d523767688cdfda9839fb80a657fe77c777841db6632a56f0cafa86c780
stable_abi.toml https://github.com/python/cpython/pull/149116/files#diff-f098b9ddf231fb279a9f5b4b8ed22c4241e1ffed7fe0deffb2c76bb2126d2911
_testcapimodule.c https://github.com/python/cpython/pull/149116/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
_testinternalcapi.c https://github.com/python/cpython/pull/149116/files#diff-687f4a736f1f6ad4b6cd4ff65c8e0113408304e8d65530dbd41b3f59a081a126
python3dll.c https://github.com/python/cpython/pull/149116/files#diff-be34b08a4cde4f0bfbf86bc3c427e4a3dcc3f2f472061a50d00040a0d8a57c88
_testembed.c https://github.com/python/cpython/pull/149116/files#diff-68b4b67b7265522a6f47393ef786b2034f5d6c53f1a9574780d72662c2361fad
pylifecycle.c https://github.com/python/cpython/pull/149116/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad
pystate.c https://github.com/python/cpython/pull/149116/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141
ignored.tsv https://github.com/python/cpython/pull/149116/files#diff-fa2373a9a002e491408e623369773045f4b7de90114b9f5ba6933bfbf2d8c45c
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/c-api/interp-lifecycle.rsthttps://github.com/python/cpython/pull/149116/files#diff-708e55b13fd6c4a41cc18ef9919d50b712e11d283742ea957274d64d079fe930
View file https://github.com/ZeroIntensity/cpython/blob/53fa94b471c0d3ef79cd9b3b404e791770bd6570/Doc/c-api/interp-lifecycle.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149116/{{ revealButtonHref }}
https://github.com/python/cpython/pull/149116/files#diff-708e55b13fd6c4a41cc18ef9919d50b712e11d283742ea957274d64d079fe930
https://github.com/python/cpython/pull/149116/files#diff-708e55b13fd6c4a41cc18ef9919d50b712e11d283742ea957274d64d079fe930
Please reload this pagehttps://github.com/python/cpython/pull/149116/files
Please reload this pagehttps://github.com/python/cpython/pull/149116/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.