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
This commit is contained in:
Victor Stinner 2018-08-01 17:56:14 +02:00 committed by GitHub
parent cfc8831f5e
commit 6c785c0ebd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 1314 additions and 1288 deletions

View file

@ -111,6 +111,7 @@
#include "codecs.h"
#include "pyerrors.h"
#include "coreconfig.h"
#include "pystate.h"
#include "context.h"