summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_configdialog.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-16 11:34:35 (GMT)
committerGitHub <noreply@github.com>2018-11-16 11:34:35 (GMT)
commitd2be9a5c13221fb84c2221bbfd93efac6111e697 (patch)
treec2c9bb69015f172557dc914ff9454a45d8997e65 /Lib/idlelib/idle_test/test_configdialog.py
parent579c4175648f667d59954d48ada757621ff6d433 (diff)
downloadcpython-d2be9a5c13221fb84c2221bbfd93efac6111e697.zip
cpython-d2be9a5c13221fb84c2221bbfd93efac6111e697.tar.gz
cpython-d2be9a5c13221fb84c2221bbfd93efac6111e697.tar.bz2
bpo-35239: _PySys_EndInit() copies module_search_path (GH-10532)
* The _PySys_EndInit() function now copies the config->module_search_path list, so config is longer modified when sys.path is updated. * config->warnoptions list and config->xoptions dict are also copied * test_embed: InitConfigTests now also tests main_config['module_search_path'] * Fix _Py_InitializeMainInterpreter(): don't use config->warnoptions but sys.warnoptions to decide if the warnings module should be imported at startup. (cherry picked from commit 37cd982df02795905886ab36a2378ed557cb6f60) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Lib/idlelib/idle_test/test_configdialog.py')
0 files changed, 0 insertions, 0 deletions