[Python-checkins] r70920 - python/trunk/Lib/distutils/command/build_ext.py

tarek.ziade python-checkins at python.org
Wed Apr 1 00:44:10 CEST 2009


Author: tarek.ziade
Date: Wed Apr  1 00:44:10 2009
New Revision: 70920

Log:
catching msvc9compiler error as well

Modified:
   python/trunk/Lib/distutils/command/build_ext.py

Modified: python/trunk/Lib/distutils/command/build_ext.py
==============================================================================
--- python/trunk/Lib/distutils/command/build_ext.py	(original)
+++ python/trunk/Lib/distutils/command/build_ext.py	Wed Apr  1 00:44:10 2009
@@ -478,7 +478,7 @@
         for ext in self.extensions:
             try:
                 self.build_extension(ext)
-            except (CCompilerError, DistutilsError), e:
+            except (CCompilerError, DistutilsError, CompileError), e:
                 if not ext.optional:
                     raise
                 self.warn('building extension "%s" failed: %s' %


More information about the Python-checkins mailing list