commit | 6dcb54228e7520abd058897440c26e323f62afcd | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Tue Mar 05 02:44:12 2019 +0100 |
committer | GitHub <noreply@github.com> | Tue Mar 05 02:44:12 2019 +0100 |
tree | 44c513ae0de0ecbf63609bb3b61bbc41806ce156 | |
parent | cad1f747da47849ab5d8b0b881f7a0b94564d290 [diff] [blame] |
bpo-36142: Add _PyPreConfig_ReadFromArgv() (GH-12173) The new function is now responsible to parse -E and -I command line arguments.
diff --git a/Python/pathconfig.c b/Python/pathconfig.c index 41fc9e2..14dbba7 100644 --- a/Python/pathconfig.c +++ b/Python/pathconfig.c
@@ -393,7 +393,7 @@ _PyInitError err; _PyCoreConfig config = _PyCoreConfig_INIT; - err = _PyCoreConfig_Read(&config); + err = _PyCoreConfig_Read(&config, NULL); if (_Py_INIT_FAILED(err)) { goto error; }