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

@ -1,7 +1,4 @@
#include "Python.h"
#include "opcode_ids.h"
#include "pycore_bitutils.h" // _Py_popcount32
#include "pycore_call.h"
#include "pycore_ceval.h" // _PY_EVAL_EVENTS_BITS
@ -18,7 +15,11 @@
#include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_STORE_UINTPTR_RELEASE
#include "pycore_pyerrors.h"
#include "pycore_pystate.h" // _PyInterpreterState_GET()
#include "pycore_runtime_structs.h" // _PyCoMonitoringData
#include "pycore_runtime_structs.h" // _PyCoMonitoringData
#include "pycore_tuple.h" // _PyTuple_FromArraySteal()
#include "opcode_ids.h"
/* Uncomment this to dump debugging output when assertions fail */
// #define INSTRUMENT_DEBUG 1