diff --git a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py index 94a7bd96ee3..2dabc0f0feb 100644 --- a/Lib/distutils/cygwinccompiler.py +++ b/Lib/distutils/cygwinccompiler.py @@ -76,7 +76,7 @@ def get_msvcr(): # VS2008 / MSVC 9.0 return ['msvcr90'] else: - raise ValueError("Unknown MS Compiler version %i " % msc_Ver) + raise ValueError("Unknown MS Compiler version %s " % msc_ver) class CygwinCCompiler (UnixCCompiler): diff --git a/Misc/NEWS b/Misc/NEWS index 11d38359273..67d2689ef21 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -234,6 +234,8 @@ Core and Builtins Library ------- +- Issue #6263: Fixed syntax error in distutils.cygwincompiler. + - Issue #5201: distutils.sysconfig.parse_makefile() now understands `$$` in Makefiles. This prevents compile errors when using syntax like: `LDFLAGS='-rpath=\$$LIB:/some/other/path'`. Patch by Floris Bruynooghe.