[Python-checkins] r79121 - in python/branches/release31-maint: Lib/distutils/command/build_ext.py Lib/distutils/tests/test_build_ext.py Misc/NEWS
tarek.ziade
python-checkins at python.org
Fri Mar 19 22:56:34 CET 2010
Author: tarek.ziade
Date: Fri Mar 19 22:56:34 2010
New Revision: 79121
Log:
Fixed #2698 - now reads the compiler option when creating the compiler
Modified:
python/branches/release31-maint/Lib/distutils/command/build_ext.py
python/branches/release31-maint/Lib/distutils/tests/test_build_ext.py
python/branches/release31-maint/Misc/NEWS
Modified: python/branches/release31-maint/Lib/distutils/command/build_ext.py
==============================================================================
--- python/branches/release31-maint/Lib/distutils/command/build_ext.py (original)
+++ python/branches/release31-maint/Lib/distutils/command/build_ext.py Fri Mar 19 22:56:34 2010
@@ -310,7 +310,7 @@
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
- self.compiler = new_compiler(compiler=None,
+ self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
Modified: python/branches/release31-maint/Lib/distutils/tests/test_build_ext.py
==============================================================================
--- python/branches/release31-maint/Lib/distutils/tests/test_build_ext.py (original)
+++ python/branches/release31-maint/Lib/distutils/tests/test_build_ext.py Fri Mar 19 22:56:34 2010
@@ -329,6 +329,7 @@
self.assertEquals(so_dir, other_tmp_dir)
cmd.inplace = 0
+ cmd.compiler = None
cmd.run()
so_file = cmd.get_outputs()[0]
self.assertTrue(os.path.exists(so_file))
Modified: python/branches/release31-maint/Misc/NEWS
==============================================================================
--- python/branches/release31-maint/Misc/NEWS (original)
+++ python/branches/release31-maint/Misc/NEWS Fri Mar 19 22:56:34 2010
@@ -17,6 +17,8 @@
Library
-------
+- Issue #2698: The --compiler ignored was ignored for distutils' build_ext.
+
- Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox
with Tcl/Tk-8.5.
More information about the Python-checkins
mailing list