◐ Shell
reader mode source ↗
Skip to content
Merged
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
6 changes: 6 additions & 0 deletions Modules/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,7 @@ static int
pymain_read_conf(_PyMain *pymain, _PyCoreConfig *config,
_PyCmdline *cmdline)
{
_PyCoreConfig save_config = _PyCoreConfig_INIT;
char *oldloc = NULL;
int res = -1;
Expand Down @@ -1319,6 +1320,10 @@ pymain_read_conf(_PyMain *pymain, _PyCoreConfig *config,
goto done;
}

if (pymain_init_cmdline_argv(pymain, config, cmdline) < 0) {
goto done;
}
Expand Down Expand Up @@ -1383,6 +1388,7 @@ pymain_read_conf(_PyMain *pymain, _PyCoreConfig *config,
setlocale(LC_ALL, oldloc);
PyMem_RawFree(oldloc);
}
return res;
}

Expand Down
Toggle all file notes Toggle all file annotations