diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-19 23:01:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 23:01:32 +0100 |
commit | 20c5f969dd12a0b3d5ea7c03fedf3e2ac202c2c0 (patch) | |
tree | c37df9e86e0c16d64c404a31c8b31090eec6a155 /Python/pylifecycle.c | |
parent | 63b5aed06ed6fcd7956c9b99eb0a3651116cf2e4 (diff) | |
download | cpython-20c5f969dd12a0b3d5ea7c03fedf3e2ac202c2c0.tar.gz cpython-20c5f969dd12a0b3d5ea7c03fedf3e2ac202c2c0.zip |
gh-131238: Remove more includes from pycore_interp.h (#131480)
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 0513d614c6e..12a48316cbc 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1,8 +1,6 @@ /* 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() @@ -11,15 +9,16 @@ #include "pycore_dict.h" // _PyDict_Fini() #include "pycore_exceptions.h" // _PyExc_InitTypes() #include "pycore_fileutils.h" // _Py_ResetForceASCII() -#include "pycore_freelist.h" // _PyObject_ClearFreeLists() #include "pycore_floatobject.h" // _PyFloat_InitTypes() -#include "pycore_global_objects_fini_generated.h" // "_PyStaticObjects_CheckRefcnt() +#include "pycore_freelist.h" // _PyObject_ClearFreeLists() +#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() #include "pycore_long.h" // _PyLong_InitTypes() #include "pycore_object.h" // _PyDebug_PrintTotalRefs() +#include "pycore_obmalloc.h" // _PyMem_init_obmalloc() #include "pycore_pathconfig.h" // _PyPathConfig_UpdateGlobal() #include "pycore_pyerrors.h" // _PyErr_Occurred() #include "pycore_pylifecycle.h" // _PyErr_Print() @@ -27,16 +26,17 @@ #include "pycore_pystate.h" // _PyThreadState_GET() #include "pycore_runtime.h" // _Py_ID() #include "pycore_runtime_init.h" // _PyRuntimeState_INIT +#include "pycore_runtime_structs.h" #include "pycore_setobject.h" // _PySet_NextEntry() #include "pycore_sliceobject.h" // _PySlice_Fini() #include "pycore_sysmodule.h" // _PySys_ClearAttrString() #include "pycore_traceback.h" // _Py_DumpTracebackThreads() -#include "pycore_uniqueid.h" // _PyObject_FinalizeUniqueIdPool() #include "pycore_typeobject.h" // _PyTypes_InitTypes() #include "pycore_typevarobject.h" // _Py_clear_generic_types() #include "pycore_unicodeobject.h" // _PyUnicode_InitTypes() +#include "pycore_uniqueid.h" // _PyObject_FinalizeUniqueIdPool() +#include "pycore_warnings.h" // _PyWarnings_InitState() #include "pycore_weakref.h" // _PyWeakref_GET_REF() -#include "pycore_obmalloc.h" // _PyMem_init_obmalloc() #include "opcode.h" |