From: Tarek Ziadé Date: Tue, 6 Oct 2009 12:35:46 +0000 (+0000) Subject: #7068: Fixed the partial renaming that occured in r72594 X-Git-Tag: v2.6.4rc1~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d23690898f30a449134724b04916b68c2216871;p=python #7068: Fixed the partial renaming that occured in r72594 --- diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 1b7d310142..da9cbfd574 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -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) diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py index 36e0bb84dd..00733a46a7 100644 --- a/Lib/distutils/tests/test_build_ext.py +++ b/Lib/distutils/tests/test_build_ext.py @@ -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] diff --git a/Misc/NEWS b/Misc/NEWS index 3e1d962211..6382190852 100644 --- 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.