]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-76785: Move the Cross-Interpreter Code to Its Own File (gh-111502)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 30 Oct 2023 22:53:10 +0000 (16:53 -0600)
committerGitHub <noreply@github.com>
Mon, 30 Oct 2023 22:53:10 +0000 (16:53 -0600)
commitc6fe0869ab1d91525f88279f8567461082c0d3ce
treec7df8abe8b1948201be0b2e6cb4579cac026d907
parent7b153d14ef2e446986148ce7833a00bee26208f1
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. :/
18 files changed:
Include/cpython/pystate.h
Include/internal/pycore_ceval.h
Include/internal/pycore_crossinterp.h [new file with mode: 0644]
Include/internal/pycore_interp.h
Include/internal/pycore_runtime.h
Lib/test/test__xxsubinterpreters.py
Makefile.pre.in
Modules/_testcapimodule.c
Modules/_testinternalcapi.c
Modules/_xxinterpchannelsmodule.c
Modules/_xxsubinterpretersmodule.c
Objects/abstract.c
PCbuild/_freeze_module.vcxproj
PCbuild/_freeze_module.vcxproj.filters
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/crossinterp.c [new file with mode: 0644]
Python/pystate.c