diff options
-rw-r--r-- | Lib/distutils/tests/test_build_scripts.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_build_scripts.py b/Lib/distutils/tests/test_build_scripts.py index 2acfab828e..b55eb5857b 100644 --- a/Lib/distutils/tests/test_build_scripts.py +++ b/Lib/distutils/tests/test_build_scripts.py @@ -90,7 +90,7 @@ class BuildScriptsTestCase(support.TempdirManager, # On linux-g++-32 with command line `./configure --enable-ipv6 # --with-suffix=3`, python is compiled okay but the build scripts # failed when writing the name of the executable - old = sysconfig._config_vars.get('VERSION') + old = sysconfig.get_config_vars().get('VERSION') sysconfig._config_vars['VERSION'] = 4 try: cmd.run() @@ -139,6 +139,9 @@ Core and Builtins Library ------- +- Issue #5810: Fixed Distutils test_build_scripts so it uses + sysconfig.get_config_vars. + - Issue #5741: don't disallow "%%" (which is an escape for "%") when setting a value in SafeConfigParser. |