| commit | da273412c4374de07a500e7f23f89a6bb7527398 | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <victor.stinner@gmail.com> | Fri Dec 15 01:46:02 2017 +0100 |
| committer | GitHub <noreply@github.com> | Fri Dec 15 01:46:02 2017 +0100 |
| tree | 86f8e89fa317de8ab4d8f06166a934e6810cc3d3 | |
| parent | 358e5e17a51ba00742bfaee4557a94c3c4179c22 [diff] |
bpo-32030: Add _PyCoreConfig_Copy() (#4874) Each interpreter now has its core_config and main_config copy: * Add _PyCoreConfig_Copy() and _PyMainInterpreterConfig_Copy() * Move _PyCoreConfig_Read(), _PyCoreConfig_Clear() and _PyMainInterpreterConfig_Clear() from Python/pylifecycle.c to Modules/main.c * Fix _Py_InitializeEx_Private(): call _PyCoreConfig_ReadEnv() before _Py_InitializeCore()