]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101524: Only Use Public C-API in the _xxsubinterpreters Module (gh-107359)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 27 Jul 2023 21:30:16 +0000 (15:30 -0600)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2023 21:30:16 +0000 (15:30 -0600)
commit8bdae1424b54e5106782f2b9e2fadce444dc84cd
tree46aaf156abbf2f6a28235a824009365f4c53dd96
parent75c974f5353685f338344618ad7344e64c2293d0
gh-101524: Only Use Public C-API in the _xxsubinterpreters Module (gh-107359)

The _xxsubinterpreters module should not rely on internal API.  Some of the functions it uses were recently moved there however.  Here we move them back (and expose them properly).
18 files changed:
Include/cpython/interpreteridobject.h [new file with mode: 0644]
Include/cpython/pylifecycle.h
Include/cpython/pystate.h
Include/internal/pycore_interp.h
Include/internal/pycore_interp_id.h [deleted file]
Include/interpreteridobject.h [new file with mode: 0644]
Makefile.pre.in
Modules/_testinternalcapi.c
Modules/_xxinterpchannelsmodule.c
Modules/_xxsubinterpretersmodule.c
Modules/atexitmodule.c
Objects/interpreteridobject.c
Objects/object.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/pystate.c
Tools/c-analyzer/cpython/_parser.py
Tools/c-analyzer/cpython/globals-to-fix.tsv