bpo-40910: PyConfig_Clear() clears _orig_argv (GH-20886)
bpo-40910, bpo-40953: PyConfig_Clear() clears _orig_argv.
(cherry picked from commit e2d47a0568
)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
30b59fd7cf
commit
bab0833d49
|
@ -601,6 +601,8 @@ PyConfig_Clear(PyConfig *config)
|
|||
CLEAR(config->run_module);
|
||||
CLEAR(config->run_filename);
|
||||
CLEAR(config->check_hash_pycs_mode);
|
||||
|
||||
_PyWideStringList_Clear(&config->_orig_argv);
|
||||
#undef CLEAR
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue