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 /Modules/_xxinterpchannelsmodule.c | |
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 'Modules/_xxinterpchannelsmodule.c')
-rw-r--r-- | Modules/_xxinterpchannelsmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_xxinterpchannelsmodule.c b/Modules/_xxinterpchannelsmodule.c index 11fe8cd..1c9ae3b 100644 --- a/Modules/_xxinterpchannelsmodule.c +++ b/Modules/_xxinterpchannelsmodule.c @@ -7,6 +7,7 @@ #include "Python.h" #include "interpreteridobject.h" +#include "pycore_crossinterp.h" // struct _xid #include "pycore_pybuffer.h" // _PyBuffer_ReleaseInInterpreterAndRawFree() #include "pycore_interp.h" // _PyInterpreterState_LookUpID() |