]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Create pycore_modsupport.h header file (#106355)
authorVictor Stinner <vstinner@python.org>
Mon, 3 Jul 2023 09:39:11 +0000 (11:39 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Jul 2023 09:39:11 +0000 (09:39 +0000)
commit35963da40fb7bc93c55d94caf58ff9e268df951d
tree06f5c1ef62c3f23351ecc9de7caf260f42a4c937
parent5ccbbe5bb9a659fa8f2fe551428c84cc14015f44
gh-106320: Create pycore_modsupport.h header file (#106355)

Remove the following functions from the C API, move them to the internal C
API: add a new pycore_modsupport.h internal header file:

* PyModule_CreateInitialized()
* _PyArg_NoKwnames()
* _Py_VaBuildStack()

No longer export these functions.
20 files changed:
Include/cpython/modsupport.h
Include/internal/pycore_modsupport.h [new file with mode: 0644]
Makefile.pre.in
Modules/_operator.c
Objects/boolobject.c
Objects/call.c
Objects/enumobject.c
Objects/floatobject.c
Objects/listobject.c
Objects/moduleobject.c
Objects/rangeobject.c
Objects/setobject.c
Objects/tupleobject.c
Objects/typeobject.c
Objects/weakrefobject.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/bltinmodule.c
Python/instrumentation.c
Python/sysmodule.c