]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove duplicate includes: Python/{bytecodes,ceval,optimizer_analysis}.c (#132622)
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Thu, 1 May 2025 11:07:53 +0000 (12:07 +0100)
committerGitHub <noreply@github.com>
Thu, 1 May 2025 11:07:53 +0000 (12:07 +0100)
Python/bytecodes.c
Python/ceval.c
Python/optimizer_analysis.c

index 9ddc3f3ed44f7ea1cd6d237939283770eec1e0af..bcc128cbd039a37284c734db511483a1480bb8af 100644 (file)
@@ -18,7 +18,7 @@
 #include "pycore_instruments.h"
 #include "pycore_interpolation.h" // _PyInterpolation_Build()
 #include "pycore_intrinsics.h"
-#include "pycore_long.h"          // _PyLong_GetZero()
+#include "pycore_long.h"          // _PyLong_ExactDealloc(), _PyLong_GetZero()
 #include "pycore_moduleobject.h"  // PyModuleObject
 #include "pycore_object.h"        // _PyObject_GC_TRACK()
 #include "pycore_opcode_metadata.h"  // uop names
@@ -27,7 +27,6 @@
 #include "pycore_pyerrors.h"      // _PyErr_GetRaisedException()
 #include "pycore_pystate.h"       // _PyInterpreterState_GET()
 #include "pycore_range.h"         // _PyRangeIterObject
-#include "pycore_long.h"          // _PyLong_ExactDealloc()
 #include "pycore_setobject.h"     // _PySet_NextEntry()
 #include "pycore_sliceobject.h"   // _PyBuildSlice_ConsumeRefs
 #include "pycore_stackref.h"
index 4a75b60c9f00630d9bfb46daabd53ce360a531f0..c777e7944f6c4c4240f0de7b0a5a17c66bd9efe4 100644 (file)
@@ -30,7 +30,6 @@
 #include "pycore_opcode_utils.h"  // MAKE_FUNCTION_*
 #include "pycore_optimizer.h"     // _PyUOpExecutor_Type
 #include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_*
-#include "pycore_pyerrors.h"
 #include "pycore_pyerrors.h"      // _PyErr_GetRaisedException()
 #include "pycore_pystate.h"       // _PyInterpreterState_GET()
 #include "pycore_range.h"         // _PyRangeIterObject
index 387ebc813abd6677565d08a5ad12c0824869767b..8b0bd1e9518c6ee155616f780f769f13fba12c98 100644 (file)
 #include "pycore_opcode_utils.h"
 #include "pycore_pystate.h"       // _PyInterpreterState_GET()
 #include "pycore_uop_metadata.h"
-#include "pycore_dict.h"
 #include "pycore_long.h"
 #include "pycore_interpframe.h"  // _PyFrame_GetCode
 #include "pycore_optimizer.h"
 #include "pycore_object.h"
-#include "pycore_dict.h"
 #include "pycore_function.h"
-#include "pycore_uop_metadata.h"
 #include "pycore_uop_ids.h"
 #include "pycore_range.h"