diff options
author | Mark Shannon <mark@hotpy.org> | 2025-03-17 09:19:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 09:19:04 +0000 |
commit | a1aeec61c4321ba9a6966109343bd88dcf9cb26a (patch) | |
tree | d2fa5ce55165df255559ec4a7b2fb1289e84f908 /Python/pystate.c | |
parent | 3ae67ba97e88d6f066a5b6f0c809f57fe4a1ecbe (diff) | |
download | cpython-a1aeec61c4321ba9a6966109343bd88dcf9cb26a.tar.gz cpython-a1aeec61c4321ba9a6966109343bd88dcf9cb26a.zip |
GH-131238: Core header refactor (GH-131250)
* Moves most structs in pycore_ header files into pycore_structs.h and pycore_runtime_structs.h
* Removes many cross-header dependencies
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index fcd12d1b933..99f8774d446 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -2,6 +2,8 @@ /* Thread and interpreter state structures and their interfaces */ #include "Python.h" +#include "pycore_runtime_structs.h" + #include "pycore_abstract.h" // _PyIndex_Check() #include "pycore_audit.h" // _Py_AuditHookEntry #include "pycore_ceval.h" @@ -18,6 +20,7 @@ #include "pycore_pylifecycle.h" // _PyAST_Fini() #include "pycore_pymem.h" // _PyMem_DebugEnabled() #include "pycore_pystate.h" +#include "pycore_runtime.h" // _PyRuntime #include "pycore_runtime_init.h" // _PyRuntimeState_INIT #include "pycore_stackref.h" // Py_STACKREF_DEBUG #include "pycore_time.h" // _PyTime_Init() |