]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46008: Move thread-related interpreter state into a sub-struct. (gh-29971)
authorEric Snow <ericsnowcurrently@gmail.com>
Tue, 7 Dec 2021 21:03:47 +0000 (14:03 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Dec 2021 21:03:47 +0000 (14:03 -0700)
commit313f92a57bc3887026ec16adb536bb2b7580ce47
tree65ddd994ed926fb46d2c24628b94f24667f6f385
parent8262c96bcc1841188866c1b022d9087e89639d98
bpo-46008: Move thread-related interpreter state into a sub-struct. (gh-29971)

This parallels _PyRuntimeState.interpreters.  Doing this helps make it more clear what part of PyInterpreterState relates to its threads.

https://bugs.python.org/issue46008
Include/internal/pycore_interp.h
Modules/_threadmodule.c
Python/ceval.c
Python/pylifecycle.c
Python/pystate.c
Python/thread.c
Python/thread_nt.h
Python/thread_pthread.h