diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-20 12:35:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-20 11:35:23 +0000 |
commit | b69da006a4f493f1eec0df413f81fbfc3e366783 (patch) | |
tree | 06f936be9f5434ec4c9f10c7c43f681042e4a853 /Python/instrumentation.c | |
parent | 34c1ea3109d750896bc27b575ebaec85a371d0ba (diff) | |
download | cpython-b69da006a4f493f1eec0df413f81fbfc3e366783.tar.gz cpython-b69da006a4f493f1eec0df413f81fbfc3e366783.zip |
gh-131238: Remove includes from pycore_interp.h (#131495)
Remove also now unused includes in C files.
Diffstat (limited to 'Python/instrumentation.c')
-rw-r--r-- | Python/instrumentation.c | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/Python/instrumentation.c b/Python/instrumentation.c index 031c450bb60..9bf0fc43556 100644 --- a/Python/instrumentation.c +++ b/Python/instrumentation.c @@ -1,22 +1,20 @@ #include "Python.h" -#include "pycore_bitutils.h" // _Py_popcount32 -#include "pycore_call.h" +#include "pycore_bitutils.h" // _Py_popcount32() +#include "pycore_call.h" // _PyObject_VectorcallTstate() #include "pycore_ceval.h" // _PY_EVAL_EVENTS_BITS #include "pycore_code.h" // _PyCode_Clear_Executors() -#include "pycore_critical_section.h" -#include "pycore_frame.h" -#include "pycore_interp.h" -#include "pycore_long.h" +#include "pycore_critical_section.h" // _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED() +#include "pycore_frame.h" // PyFrameObject +#include "pycore_interpframe.h" // _PyFrame_GetBytecode() +#include "pycore_long.h" // _PyLong_GetZero() #include "pycore_modsupport.h" // _PyModule_CreateInitialized() -#include "pycore_namespace.h" -#include "pycore_object.h" -#include "pycore_opcode_metadata.h" // IS_VALID_OPCODE, _PyOpcode_Caches -#include "pycore_opcode_utils.h" // IS_CONDITIONAL_JUMP_OPCODE +#include "pycore_namespace.h" // _PyNamespace_New() +#include "pycore_opcode_metadata.h" // IS_VALID_OPCODE() +#include "pycore_opcode_utils.h" // IS_CONDITIONAL_JUMP_OPCODE() #include "pycore_optimizer.h" // _PyExecutorObject -#include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_STORE_UINTPTR_RELEASE -#include "pycore_pyerrors.h" +#include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_STORE_UINTPTR_RELEASE() #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" |