From f684d83d86e1990784816d4b243d724e6ab8304f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 1 Mar 2019 03:44:13 +0100 Subject: 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 --- Python/pylifecycle.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/pylifecycle.c') diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index eb0fdddb4b3..1d65d3b86f7 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -4,6 +4,7 @@ #include "Python-ast.h" #undef Yield /* undefine macro conflicting with */ +#include "pycore_coreconfig.h" #include "pycore_context.h" #include "pycore_fileutils.h" #include "pycore_hamt.h" -- cgit v1.2.3