[Python-checkins] cpython: Issue #15315: Support VS 2010 in distutils cygwincompiler.

martin.v.loewis python-checkins at python.org
Tue Jul 10 07:07:35 CEST 2012


http://hg.python.org/cpython/rev/eee92b9ac4ad
changeset:   78047:eee92b9ac4ad
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Tue Jul 10 07:07:06 2012 +0200
summary:
  Issue #15315: Support VS 2010 in distutils cygwincompiler.

files:
  Lib/distutils/cygwinccompiler.py |  3 +++
  Misc/NEWS                        |  2 ++
  2 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py
--- a/Lib/distutils/cygwinccompiler.py
+++ b/Lib/distutils/cygwinccompiler.py
@@ -78,6 +78,9 @@
         elif msc_ver == '1500':
             # VS2008 / MSVC 9.0
             return ['msvcr90']
+        elif msc_ver == '1600':
+            # VS2010 / MSVC 10.0
+            return ['msvcr100']
         else:
             raise ValueError("Unknown MS Compiler version %s " % msc_ver)
 
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -31,6 +31,8 @@
 Library
 -------
 
+- Issue #15315: Support VS 2010 in distutils cygwincompiler.
+
 - Issue #15294: Fix a regression in pkgutil.extend_path()'s handling of
   nested namespace packages.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list