diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-01 02:44:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 02:44:13 (GMT) |
commit | f684d83d86e1990784816d4b243d724e6ab8304f (patch) | |
tree | 14d2a51e9bd7751ab89cf21363519d19e3970b28 /Python/pylifecycle.c | |
parent | ab71f8b793f7b42853ccd2a127ae7720adc5bcb4 (diff) | |
download | cpython-f684d83d86e1990784816d4b243d724e6ab8304f.zip cpython-f684d83d86e1990784816d4b243d724e6ab8304f.tar.gz cpython-f684d83d86e1990784816d4b243d724e6ab8304f.tar.bz2 |
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
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index eb0fddd..1d65d3b 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -4,6 +4,7 @@ #include "Python-ast.h" #undef Yield /* undefine macro conflicting with <winbase.h> */ +#include "pycore_coreconfig.h" #include "pycore_context.h" #include "pycore_fileutils.h" #include "pycore_hamt.h" |