]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-101524: Only Use Public C-API in the _xxsubinterpreters Module (gh-105258...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 27 Jul 2023 19:15:47 +0000 (12:15 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2023 19:15:47 +0000 (13:15 -0600)
commit57ef065eb3a9200aece38dfb6b90055500f076d3
tree0f7533f86d5a3750f70deebf66609b13b0d9634f
parent0063ad8189cd4ac84775eb9150b7f3373842568a
[3.12] gh-101524: Only Use Public C-API in the _xxsubinterpreters Module (gh-105258) (gh-107303)

The _xxsubinterpreters module was meant to only use public API.  Some internal C-API usage snuck in over the last few years (e.g. gh-28969).  This fixes that.
(cherry picked from commit e6373c0d8b59512aa7f0dea7f3fb162b6ed10fa4)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
12 files changed:
Include/cpython/interpreteridobject.h [moved from Include/internal/pycore_interpreteridobject.h with 51% similarity]
Include/internal/pycore_pymem.h
Include/interpreteridobject.h [new file with mode: 0644]
Makefile.pre.in
Modules/_testinternalcapi.c
Modules/_xxinterpchannelsmodule.c
Modules/_xxsubinterpretersmodule.c
Objects/interpreteridobject.c
Objects/object.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Tools/c-analyzer/cpython/_parser.py