summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-01 03:15:58 +0100
committerGitHub <noreply@github.com>2018-11-01 03:15:58 +0100
commita1c249c40517917d2e0971d55aea8d14a44b2cc8 (patch)
tree626ca174cb49d8dd299f529cc100485a08bea9d2 /Python/import.c
parente281f7d80ce2584a7e6a36acffb5a9cd796a0fe2 (diff)
downloadcpython-git-a1c249c40517917d2e0971d55aea8d14a44b2cc8.tar.gz
bpo-35081: And pycore_lifecycle.h and pycore_pathconfig.h (GH-10273)
* And pycore_lifecycle.h and pycore_pathconfig.h headers to Include/internal/ * Move Py_BUILD_CORE specific code from coreconfig.h and pylifecycle.h to pycore_pathconfig.h and pycore_lifecycle.h * Move _Py_wstrlist_XXX() definitions and _PyPathConfig code from pycore_state.h to pycore_pathconfig.h * Move "Init" and "Fini" function definitions from pylifecycle.c to pycore_lifecycle.h.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c
index 18cd29df7e..67911ff0e4 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -5,6 +5,7 @@
#include "Python-ast.h"
#undef Yield /* undefine macro conflicting with winbase.h */
#include "pycore_hash.h"
+#include "pycore_lifecycle.h"
#include "pycore_mem.h"
#include "pycore_state.h"
#include "errcode.h"