summaryrefslogtreecommitdiff
path: root/Include/Python.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-08-01 17:56:14 +0200
committerGitHub <noreply@github.com>2018-08-01 17:56:14 +0200
commit6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6 (patch)
tree9f87d1708dd9895c78b5ac7d1b9bc31aa835e48f /Include/Python.h
parentcfc8831f5ed607048679427f7d76d6cb4f8a2e8a (diff)
downloadcpython-git-6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6.tar.gz
bpo-34170: Add Python/coreconfig.c for _PyCoreConfig (GH-8607)
* Add Include/coreconfig.h * Move config_*() and _PyCoreConfig_*() functions from Modules/main.c to a new Python/coreconfig.c file. * Inline _Py_ReadHashSeed() into config_init_hash_seed() * Move global configuration variables to coreconfig.c
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 1feb1531cc..bf1ca6cfe9 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -111,6 +111,7 @@
#include "codecs.h"
#include "pyerrors.h"
+#include "coreconfig.h"
#include "pystate.h"
#include "context.h"