summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-04-25 12:55:56 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-04-25 12:55:56 (GMT)
commitde0d5e3247ab17f481af07b548dc930ddfd80740 (patch)
tree61536419009bf7e03ff6bd119c3bda33a7adb22a
parent17ba0fc6e98f02ba67b6c8d5d97e4027a5d1f9e4 (diff)
downloadcpython-de0d5e3247ab17f481af07b548dc930ddfd80740.zip
cpython-de0d5e3247ab17f481af07b548dc930ddfd80740.tar.gz
cpython-de0d5e3247ab17f481af07b548dc930ddfd80740.tar.bz2
Merged revisions 71884 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71884 | tarek.ziade | 2009-04-25 14:51:59 +0200 (Sat, 25 Apr 2009) | 1 line #5810: Fixed Distutils test_build_scripts ........
-rw-r--r--Lib/distutils/tests/test_build_scripts.py2
-rw-r--r--Misc/NEWS3
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 2acfab8..b55eb58 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()
diff --git a/Misc/NEWS b/Misc/NEWS
index fdaf081..b9afc3f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.