]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34170: Add Python/coreconfig.c for _PyCoreConfig (GH-8607)
authorVictor Stinner <vstinner@redhat.com>
Wed, 1 Aug 2018 15:56:14 +0000 (17:56 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Aug 2018 15:56:14 +0000 (17:56 +0200)
commit6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6
tree9f87d1708dd9895c78b5ac7d1b9bc31aa835e48f
parentcfc8831f5ed607048679427f7d76d6cb4f8a2e8a
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
14 files changed:
Include/Python.h
Include/coreconfig.h [new file with mode: 0644]
Include/internal/pystate.h
Include/pylifecycle.h
Include/pystate.h
Makefile.pre.in
Modules/main.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/bltinmodule.c
Python/bootstrap_hash.c
Python/coreconfig.c [new file with mode: 0644]
Python/import.c
Python/pylifecycle.c