FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-149101: Implement PEP 788 by ZeroIntensity · Pull Request #149116 · python/cpython · GitHub
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.4k
(2.4k)
Actions
Projects
Security and quality
Insights
gh-149101: Implement PEP 788
- #149116
#149116
Merged
ZeroIntensity
merged 93 commits into
python:main
python/cpython:main
from
ZeroIntensity:pep-788
ZeroIntensity/cpython:pep-788
Copy head branch name to clipboard
May 6, 2026
Conversation
Commits
93
(93)
Checks
Files changed
Merged
gh-149101: Implement PEP 788
#149116
ZeroIntensity
merged 93 commits into
python:main
python/cpython:main
from
ZeroIntensity:pep-788
ZeroIntensity/cpython:pep-788
Copy head branch name to clipboard
Commits
Commits on Apr 28, 2026
Copy the reference implementation.
ZeroIntensity
committed
43b0798
View commit details
Copy full SHA for 43b0798
Browse repository at this point
Merge branch 'main' of https://github.com/python/cpython into pep-788
ZeroIntensity
committed
722dbdf
View commit details
Copy full SHA for 722dbdf
Browse repository at this point
Document the new APIs.
ZeroIntensity
committed
73cccbb
View commit details
Copy full SHA for 73cccbb
Browse repository at this point
Add a whatsnew entry.
ZeroIntensity
committed
25e1cf0
View commit details
Copy full SHA for 25e1cf0
Browse repository at this point
Fix stable ABI things.
ZeroIntensity
committed
af1022a
View commit details
Copy full SHA for af1022a
Browse repository at this point
Fix test_embed.
ZeroIntensity
committed
2fb8419
View commit details
Copy full SHA for 2fb8419
Browse repository at this point
SIlly news entry.
ZeroIntensity
committed
1096a32
View commit details
Copy full SHA for 1096a32
Browse repository at this point
Documentation fixes.
ZeroIntensity
committed
407062f
View commit details
Copy full SHA for 407062f
Browse repository at this point
Make the sentinel const instead of changing the C analyzer.
ZeroIntensity
committed
a33bdfc
View commit details
Copy full SHA for a33bdfc
Browse repository at this point
Fix the html IDs job.
ZeroIntensity
committed
c504a9f
View commit details
Copy full SHA for c504a9f
Browse repository at this point
Commits on Apr 29, 2026
Merge branch 'main' into pep-788
encukou
authored
f95bfc7
View commit details
Copy full SHA for f95bfc7
Browse repository at this point
Apply suggestions from code review
Show description for a00bfbb
ZeroIntensity
and
encukou
authored
a00bfbb
View commit details
Copy full SHA for a00bfbb
Browse repository at this point
Update Doc/c-api/threads.rst
Show description for 6ca2499
ZeroIntensity
and
encukou
authored
6ca2499
View commit details
Copy full SHA for 6ca2499
Browse repository at this point
Fix lint and remove dead comment.
ZeroIntensity
committed
74259f8
View commit details
Copy full SHA for 74259f8
Browse repository at this point
Improve new PyThreadState API docs.
Show description for eff9b40
ZeroIntensity
and
encukou
committed
eff9b40
View commit details
Copy full SHA for eff9b40
Browse repository at this point
Fix lint.
ZeroIntensity
committed
bc78c10
View commit details
Copy full SHA for bc78c10
Browse repository at this point
Commits on Apr 30, 2026
Apply suggestions from code review
Show description for 0a30c25
ZeroIntensity
and
encukou
authored
0a30c25
View commit details
Copy full SHA for 0a30c25
Browse repository at this point
Update Doc/c-api/threads.rst
Show description for fe3d8a1
ZeroIntensity
and
encukou
authored
fe3d8a1
View commit details
Copy full SHA for fe3d8a1
Browse repository at this point
Fix line endings.
ZeroIntensity
committed
ad69f96
View commit details
Copy full SHA for ad69f96
Browse repository at this point
Remove accidental formatting changes.
Show description for 1623556
ZeroIntensity
committed
1623556
View commit details
Copy full SHA for 1623556
Browse repository at this point
Fix memory ordering for the event reset.
ZeroIntensity
committed
cad8786
View commit details
Copy full SHA for cad8786
Browse repository at this point
Improve NO_TSTATE_SENTINEL.
ZeroIntensity
committed
e042656
View commit details
Copy full SHA for e042656
Browse repository at this point
Fix some test things.
ZeroIntensity
committed
6a05c90
View commit details
Copy full SHA for 6a05c90
Browse repository at this point
Remove note about deallocation.
ZeroIntensity
committed
728ee3a
View commit details
Copy full SHA for 728ee3a
Browse repository at this point
Explicitly mark implementation details in the docs.
ZeroIntensity
committed
d9e1170
View commit details
Copy full SHA for d9e1170
Browse repository at this point
Add missing versionadded markers.
ZeroIntensity
committed
2f824d3
View commit details
Copy full SHA for 2f824d3
Browse repository at this point
Remove dead comment.
Show description for ab9d783
ZeroIntensity
committed
ab9d783
View commit details
Copy full SHA for ab9d783
Browse repository at this point
Merge branch 'main' of https://github.com/python/cpython into pep-788
ZeroIntensity
committed
10e241e
View commit details
Copy full SHA for 10e241e
Browse repository at this point
Commits on May 1, 2026
Some improvements to PyThreadState_Release() based on review.
ZeroIntensity
committed
25687af
View commit details
Copy full SHA for 25687af
Browse repository at this point
Add a comment.
ZeroIntensity
committed
6d3b40a
View commit details
Copy full SHA for 6d3b40a
Browse repository at this point
Remove _ prefix from struct names.
ZeroIntensity
committed
0c08141
View commit details
Copy full SHA for 0c08141
Browse repository at this point
Only issue a fatal error for KeyboardInterrupt.
ZeroIntensity
committed
31f1155
View commit details
Copy full SHA for 31f1155
Browse repository at this point
Don't use a full PyThreadState for NO_TSTATE_SENTINEL on release builds.
ZeroIntensity
committed
6c62b40
View commit details
Copy full SHA for 6c62b40
Browse repository at this point
Fix race during event spinning.
ZeroIntensity
committed
d8ce02d
View commit details
Copy full SHA for d8ce02d
Browse repository at this point
Merge branch 'main' of https://github.com/python/cpython into pep-788
ZeroIntensity
committed
e105120
View commit details
Copy full SHA for e105120
Browse repository at this point
Commits on May 4, 2026
Merge in the main branch
encukou
committed
eb73203
View commit details
Copy full SHA for eb73203
Browse repository at this point
Switch to PyThreadStateToken
encukou
committed
09a0d69
View commit details
Copy full SHA for 09a0d69
Browse repository at this point
Remove ensure_tstate_is_valid
encukou
committed
5a3f808
View commit details
Copy full SHA for 5a3f808
Browse repository at this point
Merge in the main branch
encukou
committed
d43ba9d
View commit details
Copy full SHA for d43ba9d
Browse repository at this point
Apply suggestions from code review
Show description for 9a04e93
ZeroIntensity
and
colesbury
authored
9a04e93
View commit details
Copy full SHA for 9a04e93
Browse repository at this point
Simply exit instead of emitting a fatal error upon CTRL^C.
ZeroIntensity
committed
a382721
View commit details
Copy full SHA for a382721
Browse repository at this point
Hardcode zero as the main interpreter ID.
ZeroIntensity
committed
03862fb
View commit details
Copy full SHA for 03862fb
Browse repository at this point
Fix leak in get_main_interp_guard.
ZeroIntensity
committed
df720a5
View commit details
Copy full SHA for df720a5
Browse repository at this point
Improve readability and fix warning.
ZeroIntensity
committed
767c894
View commit details
Copy full SHA for 767c894
Browse repository at this point
Use void instead of a struct for PyThreadStateToken.
ZeroIntensity
committed
38a2153
View commit details
Copy full SHA for 38a2153
Browse repository at this point
Run test_embed with TSan.
Show description for 321c783
ZeroIntensity
committed
321c783
View commit details
Copy full SHA for 321c783
Browse repository at this point
Commits on May 5, 2026
Switch to a single atomic field instead of using locks and events.
ZeroIntensity
committed
811ca19
View commit details
Copy full SHA for 811ca19
Browse repository at this point
Fix existing thread-safety issue with interp_has_threads().
ZeroIntensity
committed
ac58a16
View commit details
Copy full SHA for ac58a16
Browse repository at this point
Use the parking lot to avoid eating CPU cycles.
ZeroIntensity
committed
4ced3a1
View commit details
Copy full SHA for 4ced3a1
Browse repository at this point
Stupid merge conflicts.
ZeroIntensity
committed
9345afd
View commit details
Copy full SHA for 9345afd
Browse repository at this point
Fix C analyzer.
ZeroIntensity
committed
11cbe5c
View commit details
Copy full SHA for 11cbe5c
Browse repository at this point
Stupid warnings.
ZeroIntensity
committed
99098d7
View commit details
Copy full SHA for 99098d7
Browse repository at this point
Fix thread leaks in test_embed.
ZeroIntensity
committed
1c184f1
View commit details
Copy full SHA for 1c184f1
Browse repository at this point
Fix deadlock in test_atexit.
ZeroIntensity
committed
af57d9d
View commit details
Copy full SHA for af57d9d
Browse repository at this point
Fix missing newline.
ZeroIntensity
committed
7289037
View commit details
Copy full SHA for 7289037
Browse repository at this point
Remove stray newline change from pycore_lock.h
ZeroIntensity
committed
a538acc
View commit details
Copy full SHA for a538acc
Browse repository at this point
Use sequential memory ordering in _testembed.
Show description for 4bec1e7
ZeroIntensity
committed
4bec1e7
View commit details
Copy full SHA for 4bec1e7
Browse repository at this point
Potentially fix some things?
ZeroIntensity
committed
5d28e1a
View commit details
Copy full SHA for 5d28e1a
Browse repository at this point
Add a test stressing a lot of threads against finalization.
ZeroIntensity
committed
62b137e
View commit details
Copy full SHA for 62b137e
Browse repository at this point
Export _Py_yield.
ZeroIntensity
committed
2378c88
View commit details
Copy full SHA for 2378c88
Browse repository at this point
Fix race in interp_has_threads.
ZeroIntensity
committed
e7466f1
View commit details
Copy full SHA for e7466f1
Browse repository at this point
Fix formatting.
ZeroIntensity
committed
5d797cf
View commit details
Copy full SHA for 5d797cf
Browse repository at this point
Merge branch 'main' of https://github.com/python/cpython into pep-788
ZeroIntensity
committed
5f1d2e0
View commit details
Copy full SHA for 5f1d2e0
Browse repository at this point
Close owned guards before deleting them, not after.
Show description for 4b446e7
ZeroIntensity
committed
4b446e7
View commit details
Copy full SHA for 4b446e7
Browse repository at this point
Add assertions to ensure that the guard count is zero upon reinitialization.
ZeroIntensity
committed
b4db0a6
View commit details
Copy full SHA for b4db0a6
Browse repository at this point
Move PyInterpreterGuard_Close call to after the deletion again.
Show description for c43cae7
ZeroIntensity
committed
c43cae7
View commit details
Copy full SHA for c43cae7
Browse repository at this point
Update Python/pystate.c
Show description for 5e25ba9
ZeroIntensity
and
colesbury
authored
5e25ba9
View commit details
Copy full SHA for 5e25ba9
Browse repository at this point
Update Python/pylifecycle.c
Show description for 08e845c
ZeroIntensity
and
colesbury
authored
08e845c
View commit details
Copy full SHA for 08e845c
Browse repository at this point
Update Doc/c-api/interp-lifecycle.rst
Show description for 17b0e2a
ZeroIntensity
and
colesbury
authored
17b0e2a
View commit details
Copy full SHA for 17b0e2a
Browse repository at this point
Use PyThreadStateToken in the example.
ZeroIntensity
committed
f60d888
View commit details
Copy full SHA for f60d888
Browse repository at this point
Merge branch 'pep-788' of https://github.com/zerointensity/cpython into pep-788
ZeroIntensity
committed
dd930ef
View commit details
Copy full SHA for dd930ef
Browse repository at this point
Fix swapped links the whatsnew.
ZeroIntensity
committed
7aa2f65
View commit details
Copy full SHA for 7aa2f65
Browse repository at this point
Fix failure note + use affirmative tone in PyInterpreterView_FromMain docs.
ZeroIntensity
committed
541169d
View commit details
Copy full SHA for 541169d
Browse repository at this point
Remove usage of _Py_yield.
ZeroIntensity
committed
d75e6d9
View commit details
Copy full SHA for d75e6d9
Browse repository at this point
Fix issue with re-entrant clearing.
ZeroIntensity
committed
9f7b014
View commit details
Copy full SHA for 9f7b014
Browse repository at this point
Remove needless calls to _PyThreadState_Attach/_PyThreadState_Detach.
ZeroIntensity
committed
f9cb8f7
View commit details
Copy full SHA for f9cb8f7
Browse repository at this point
Simplify locking in make_pre_finalization_calls.
ZeroIntensity
committed
29fa419
View commit details
Copy full SHA for 29fa419
Browse repository at this point
Fix a few other bugs.
ZeroIntensity
committed
211edf1
View commit details
Copy full SHA for 211edf1
Browse repository at this point
Move some tests to _testinternalcapi.
ZeroIntensity
committed
aaa516e
View commit details
Copy full SHA for aaa516e
Browse repository at this point
Add a test stressing detachment behavior.
ZeroIntensity
committed
e1da86c
View commit details
Copy full SHA for e1da86c
Browse repository at this point
Fix unused test.
ZeroIntensity
committed
95cdd3a
View commit details
Copy full SHA for 95cdd3a
Browse repository at this point
Release the GIL while joining the thread in test_thread_state_release_with_destructor.
ZeroIntensity
committed
e203fd5
View commit details
Copy full SHA for e203fd5
Browse repository at this point
Commits on May 6, 2026
Fix detached gilstates being attached upon release.
ZeroIntensity
committed
3987445
View commit details
Copy full SHA for 3987445
Browse repository at this point
Don't use an actual thread for test_thread_state_release_with_destructor.
Show description for 45d6ece
ZeroIntensity
committed
45d6ece
View commit details
Copy full SHA for 45d6ece
Browse repository at this point
Remove dead comment.
ZeroIntensity
committed
319b700
View commit details
Copy full SHA for 319b700
Browse repository at this point
Fix the C analyzer yet again.
ZeroIntensity
committed
a34dbc6
View commit details
Copy full SHA for a34dbc6
Browse repository at this point
Merge branch 'main' of https://github.com/python/cpython into pep-788
ZeroIntensity
committed
9e48209
View commit details
Copy full SHA for 9e48209
Browse repository at this point
Fix whatsnew reference.
ZeroIntensity
committed
59e2d9a
View commit details
Copy full SHA for 59e2d9a
Browse repository at this point
Fix typos.
ZeroIntensity
committed
7a6cc0c
View commit details
Copy full SHA for 7a6cc0c
Browse repository at this point
Fix test name.
ZeroIntensity
committed
0945129
View commit details
Copy full SHA for 0945129
Browse repository at this point
Avoid using a second sentinel.
ZeroIntensity
committed
c5148d1
View commit details
Copy full SHA for c5148d1
Browse repository at this point
Do the compare-exchange under the head lock.
ZeroIntensity
committed
adb985f
View commit details
Copy full SHA for adb985f
Browse repository at this point
Don't try to clear owned_guard in PyThreadState_Clear().
ZeroIntensity
committed
53fa94b
View commit details
Copy full SHA for 53fa94b
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL