mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-131238: Remove many includes from pycore_interp.h (#131472)
This commit is contained in:
parent
a4832f6b9a
commit
22706843e0
12 changed files with 25 additions and 30 deletions
|
@ -15,6 +15,7 @@
|
|||
#include "pycore_instruments.h"
|
||||
#include "pycore_intrinsics.h"
|
||||
#include "pycore_jit.h"
|
||||
#include "pycore_list.h" // _PyList_GetItemRef()
|
||||
#include "pycore_long.h" // _PyLong_GetZero()
|
||||
#include "pycore_moduleobject.h" // PyModuleObject
|
||||
#include "pycore_object.h" // _PyObject_GC_TRACK()
|
||||
|
|
|
@ -12,7 +12,9 @@
|
|||
#include "pycore_object_alloc.h" // _PyObject_MallocWithType()
|
||||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_tuple.h" // _PyTuple_MaybeUntrack()
|
||||
#include "pycore_weakref.h" // _PyWeakref_ClearRef()
|
||||
|
||||
#include "pydtrace.h"
|
||||
|
||||
#ifndef Py_GIL_DISABLED
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "pycore_object_alloc.h" // _PyObject_MallocWithType()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_tstate.h" // _PyThreadStateImpl
|
||||
#include "pycore_tuple.h" // _PyTuple_MaybeUntrack()
|
||||
#include "pycore_weakref.h" // _PyWeakref_ClearRef()
|
||||
|
||||
#include "pydtrace.h"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "pycore_audit.h" // _Py_AuditHookEntry
|
||||
#include "pycore_ceval.h"
|
||||
#include "pycore_code.h" // stats
|
||||
#include "pycore_codecs.h" // _PyCodec_Fini()
|
||||
#include "pycore_critical_section.h" // _PyCriticalSection_Resume()
|
||||
#include "pycore_dtoa.h" // _dtoa_state_INIT()
|
||||
#include "pycore_emscripten_trampoline.h" // _Py_EmscriptenTrampoline_Init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue