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

Remove also now unused includes in C files.
This commit is contained in:
Victor Stinner 2025-03-20 12:35:23 +01:00 committed by GitHub
parent 34c1ea3109
commit b69da006a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 78 additions and 90 deletions

View file

@ -2,14 +2,11 @@
/* Traceback implementation */
#include "Python.h"
#include "pycore_ast.h" // asdl_seq_GET()
#include "pycore_call.h" // _PyObject_CallMethodFormat()
#include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH
#include "pycore_frame.h" // _PyFrame_GetCode()
#include "pycore_frame.h" // PyFrameObject
#include "pycore_interp.h" // PyInterpreterState.gc
#include "pycore_parser.h" // _PyParser_ASTFromString
#include "pycore_pyarena.h" // _PyArena_Free()
#include "pycore_interpframe.h" // _PyFrame_GetCode()
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_sysmodule.h" // _PySys_GetOptionalAttr()