diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-05 02:44:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-05 02:44:12 +0100 |
commit | 6dcb54228e7520abd058897440c26e323f62afcd (patch) | |
tree | 44c513ae0de0ecbf63609bb3b61bbc41806ce156 /Python/pylifecycle.c | |
parent | cad1f747da47849ab5d8b0b881f7a0b94564d290 (diff) | |
download | cpython-git-6dcb54228e7520abd058897440c26e323f62afcd.tar.gz |
bpo-36142: Add _PyPreConfig_ReadFromArgv() (GH-12173)
The new function is now responsible to parse -E and -I command line
arguments.
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index a5cfc07c48..7cf4a6d032 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -763,7 +763,7 @@ _Py_InitializeCore(PyInterpreterState **interp_p, _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); if (_PyCoreConfig_Copy(&config, src_config) >= 0) { - err = _PyCoreConfig_Read(&config); + err = _PyCoreConfig_Read(&config, NULL); } else { err = _Py_INIT_ERR("failed to copy core config"); |