summaryrefslogtreecommitdiffstats
path: root/Python/gc_free_threading.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-03-19 17:17:44 (GMT)
committerGitHub <noreply@github.com>2025-03-19 17:17:44 (GMT)
commit5c44d7d99c470b4270b2f0e4841cf5a7f2499e15 (patch)
tree633e9b6f720587129cb131f6ae5e77a72faf72f4 /Python/gc_free_threading.c
parent6146295a5b8e9286ccb8f90818b764c9a0192090 (diff)
downloadcpython-5c44d7d99c470b4270b2f0e4841cf5a7f2499e15.zip
cpython-5c44d7d99c470b4270b2f0e4841cf5a7f2499e15.tar.gz
cpython-5c44d7d99c470b4270b2f0e4841cf5a7f2499e15.tar.bz2
gh-130931: Add pycore_interpframe.h internal header (#131249)
Move _PyInterpreterFrame and associated functions to a new pycore_interpframe.h header.
Diffstat (limited to 'Python/gc_free_threading.c')
-rw-r--r--Python/gc_free_threading.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Python/gc_free_threading.c b/Python/gc_free_threading.c
index 694f97d..36b6eca 100644
--- a/Python/gc_free_threading.c
+++ b/Python/gc_free_threading.c
@@ -2,20 +2,17 @@
#include "Python.h"
#include "pycore_brc.h" // struct _brc_thread_state
#include "pycore_ceval.h" // _Py_set_eval_breaker_bit()
-#include "pycore_context.h"
#include "pycore_dict.h" // _PyInlineValuesSize()
+#include "pycore_frame.h" // FRAME_CLEARED
#include "pycore_freelist.h" // _PyObject_ClearFreeLists()
-#include "pycore_initconfig.h"
+#include "pycore_initconfig.h" // _PyStatus_NO_MEMORY()
#include "pycore_interp.h" // PyInterpreterState.gc
-#include "pycore_object.h"
#include "pycore_object_alloc.h" // _PyObject_MallocWithType()
-#include "pycore_object_stack.h"
-#include "pycore_pyerrors.h"
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_tstate.h" // _PyThreadStateImpl
#include "pycore_weakref.h" // _PyWeakref_ClearRef()
+
#include "pydtrace.h"
-#include "pycore_uniqueid.h" // _PyObject_MergeThreadLocalRefcounts()
// enable the "mark alive" pass of GC