commit | f29084d611a6ca504c99a0967371374febf0ccc3 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Wed Mar 20 02:20:13 2019 +0100 |
committer | GitHub <noreply@github.com> | Wed Mar 20 02:20:13 2019 +0100 |
tree | 4026d6cf02a675a3b34aa5e6b6d9e832cb1830a5 | |
parent | 0d765e3849f1010276bb349b557b79ed94befa0b [diff] |
bpo-36301: Add _PyRuntime.pre_initialized (GH-12457) * Add _PyRuntime.pre_initialized: set to 1 when Python is pre-initialized * Add _Py_PreInitialize() and _Py_PreInitializeFromPreConfig(). * _PyCoreConfig_Read() now calls _Py_PreInitialize(). * Move _PyPreConfig_GetGlobalConfig() and _PyCoreConfig_GetGlobalConfig() calls from main.c to preconfig.c and coreconfig.c.