diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-10-30 22:53:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 22:53:10 (GMT) |
commit | c6fe0869ab1d91525f88279f8567461082c0d3ce (patch) | |
tree | c7df8abe8b1948201be0b2e6cb4579cac026d907 /Objects | |
parent | 7b153d14ef2e446986148ce7833a00bee26208f1 (diff) | |
download | cpython-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.c | 1 |
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() |