]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36142: Exclude coreconfig.h from Py_LIMITED_API (GH-12111)
authorVictor Stinner <vstinner@redhat.com>
Fri, 1 Mar 2019 02:44:13 +0000 (03:44 +0100)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2019 02:44:13 +0000 (03:44 +0100)
commitf684d83d86e1990784816d4b243d724e6ab8304f
tree14d2a51e9bd7751ab89cf21363519d19e3970b28
parentab71f8b793f7b42853ccd2a127ae7720adc5bcb4
bpo-36142: Exclude coreconfig.h from Py_LIMITED_API (GH-12111)

The whole coreconfig.h header is now excluded from Py_LIMITED_API.
Move functions definitions into a new internal pycore_coreconfig.h
header.

* Move Include/coreconfig.h to Include/cpython/coreconfig.h
* coreconfig.h header is now excluded from Py_LIMITED_API
* Move functions to pycore_coreconfig.h
14 files changed:
Include/Python.h
Include/cpython/coreconfig.h [moved from Include/coreconfig.h with 93% similarity]
Include/cpython/pystate.h
Include/internal/pycore_coreconfig.h [new file with mode: 0644]
Include/pystate.h
Makefile.pre.in
Misc/NEWS.d/next/C API/2019-03-01-03-23-48.bpo-36142.7F6wJd.rst [new file with mode: 0644]
Modules/main.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/coreconfig.c
Python/pathconfig.c
Python/pylifecycle.c
Python/pystate.c