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/pylifecycle.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/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 4007e43c98d..0513d614c6e 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1,7 +1,8 @@ /* Python interpreter top-level routines, including init/exit */ #include "Python.h" - +#include "pycore_runtime_structs.h" +#include "pycore_unicodeobject.h" #include "pycore_audit.h" // _PySys_ClearAuditHooks() #include "pycore_call.h" // _PyObject_CallMethod() #include "pycore_ceval.h" // _PyEval_FiniGIL() @@ -13,6 +14,7 @@ #include "pycore_freelist.h" // _PyObject_ClearFreeLists() #include "pycore_floatobject.h" // _PyFloat_InitTypes() #include "pycore_global_objects_fini_generated.h" // "_PyStaticObjects_CheckRefcnt() +#include "pycore_hamt.h" // _PyHamt_Type #include "pycore_import.h" // _PyImport_BootstrapImp() #include "pycore_initconfig.h" // _PyStatus_OK() #include "pycore_list.h" // _PyList_Fini() |