summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-10-30 22:53:10 (GMT)
committerGitHub <noreply@github.com>2023-10-30 22:53:10 (GMT)
commitc6fe0869ab1d91525f88279f8567461082c0d3ce (patch)
treec7df8abe8b1948201be0b2e6cb4579cac026d907 /Objects
parent7b153d14ef2e446986148ce7833a00bee26208f1 (diff)
downloadcpython-c6fe0869ab1d91525f88279f8567461082c0d3ce.zip
cpython-c6fe0869ab1d91525f88279f8567461082c0d3ce.tar.gz
cpython-c6fe0869ab1d91525f88279f8567461082c0d3ce.tar.bz2
gh-76785: Move the Cross-Interpreter Code to Its Own File (gh-111502)
This is partly to clear this stuff out of pystate.c, but also in preparation for moving some code out of _xxsubinterpretersmodule.c. This change also moves this stuff to the internal API (new: Include/internal/pycore_crossinterp.h). @vstinner did this previously and I undid it. Now I'm re-doing it. :/
Diffstat (limited to 'Objects')
-rw-r--r--Objects/abstract.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index 806ca65..070e762 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -5,6 +5,7 @@
#include "pycore_pybuffer.h"
#include "pycore_call.h" // _PyObject_CallNoArgs()
#include "pycore_ceval.h" // _Py_EnterRecursiveCallTstate()
+#include "pycore_crossinterp.h" // _Py_CallInInterpreter()
#include "pycore_object.h" // _Py_CheckSlotResult()
#include "pycore_long.h" // _Py_IsNegative
#include "pycore_pyerrors.h" // _PyErr_Occurred()