gh-131238: Remove many includes from pycore_interp.h (#131472)

This commit is contained in:
Victor Stinner 2025-03-19 18:46:24 +01:00 committed by GitHub
parent a4832f6b9a
commit 22706843e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 25 additions and 30 deletions

View file

@ -2,14 +2,16 @@
#include "Python.h"
#include "pycore_abstract.h" // _PyIndex_Check()
#include "pycore_pybuffer.h"
#include "pycore_call.h" // _PyObject_CallNoArgs()
#include "pycore_ceval.h" // _Py_EnterRecursiveCallTstate()
#include "pycore_crossinterp.h" // _Py_CallInInterpreter()
#include "pycore_object.h" // _Py_CheckSlotResult()
#include "pycore_list.h" // _PyList_AppendTakeRef()
#include "pycore_long.h" // _Py_IsNegative
#include "pycore_object.h" // _Py_CheckSlotResult()
#include "pycore_pybuffer.h"
#include "pycore_pyerrors.h" // _PyErr_Occurred()
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_tuple.h" // _PyTuple_FromArraySteal()
#include "pycore_unionobject.h" // _PyUnion_Check()
#include <stddef.h> // offsetof()