mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Merged revisions 70920,70922 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70920 | tarek.ziade | 2009-03-31 17:44:10 -0500 (Tue, 31 Mar 2009) | 1 line catching msvc9compiler error as well ........ r70922 | tarek.ziade | 2009-03-31 17:47:01 -0500 (Tue, 31 Mar 2009) | 1 line fixed the test for win32 CompileError ........
This commit is contained in:
parent
17b9e27abe
commit
30911294d8
2 changed files with 4 additions and 2 deletions
|
@ -457,7 +457,7 @@ class build_ext(Command):
|
|||
for ext in self.extensions:
|
||||
try:
|
||||
self.build_extension(ext)
|
||||
except (CCompilerError, DistutilsError) as e:
|
||||
except (CCompilerError, DistutilsError, CompileError) as e:
|
||||
if not ext.optional:
|
||||
raise
|
||||
self.warn('building extension "%s" failed: %s' %
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue