summaryrefslogtreecommitdiff
path: root/Programs
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 /Programs
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 'Programs')
-rw-r--r--Programs/python.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Programs/python.c b/Programs/python.c
index 78e48f800c..079bf9a2f0 100644
--- a/Programs/python.c
+++ b/Programs/python.c
@@ -1,6 +1,7 @@
/* Minimal main program -- everything is loaded from the library */
#include "Python.h"
+#include "pycore_lifecycle.h"
#ifdef MS_WINDOWS
int