[Python-checkins] r71887 - in python/branches/release26-maint: Lib/distutils/tests/test_build_scripts.py Misc/NEWS
tarek.ziade
python-checkins at python.org
Sat Apr 25 14:55:57 CEST 2009
Author: tarek.ziade
Date: Sat Apr 25 14:55:56 2009
New Revision: 71887
Log:
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
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Lib/distutils/tests/test_build_scripts.py
python/branches/release26-maint/Misc/NEWS
Modified: python/branches/release26-maint/Lib/distutils/tests/test_build_scripts.py
==============================================================================
--- python/branches/release26-maint/Lib/distutils/tests/test_build_scripts.py (original)
+++ python/branches/release26-maint/Lib/distutils/tests/test_build_scripts.py Sat Apr 25 14:55:56 2009
@@ -90,7 +90,7 @@
# 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()
Modified: python/branches/release26-maint/Misc/NEWS
==============================================================================
--- python/branches/release26-maint/Misc/NEWS (original)
+++ python/branches/release26-maint/Misc/NEWS Sat Apr 25 14:55:56 2009
@@ -139,6 +139,9 @@
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.
More information about the Python-checkins
mailing list