]> granicus.if.org Git - python/commitdiff
#7068: Fixed the partial renaming that occured in r72594
authorTarek Ziadé <ziade.tarek@gmail.com>
Tue, 6 Oct 2009 12:35:46 +0000 (12:35 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Tue, 6 Oct 2009 12:35:46 +0000 (12:35 +0000)
Lib/distutils/command/build_ext.py
Lib/distutils/tests/test_build_ext.py
Misc/NEWS

index 1b7d310142cd73a8eaa19de548f06e18f83afab8..da9cbfd574728bbe8f5232671c86763b37fa26d0 100644 (file)
@@ -303,7 +303,7 @@ class build_ext (Command):
 
         # 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)
index 36e0bb84dd7cd395524f85bd4dcc802993dce12f..00733a46a7d994360970fced68bd3655e30324fd 100644 (file)
@@ -264,7 +264,7 @@ class BuildExtTestCase(support.TempdirManager,
                           sysconfig.get_config_var('SO'))
         so_dir = os.path.dirname(so_file)
         self.assertEquals(so_dir, other_tmp_dir)
-
+        cmd.compiler = None
         cmd.inplace = 0
         cmd.run()
         so_file = cmd.get_outputs()[0]
index 3e1d962211ec958148b3b0b2c725cc7412ab102d..6382190852ace61881f2840223cf80e783bd68be 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -18,6 +18,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #7068: Fixed the partial renaming that occured in r72594.
+
 - Issue #7064: Fixed the incompatibility with Setuptools in distutils 
   when running the build_ext command.