projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f230a86
)
suppress compiler crashes in cythonize() trial&error mode
author
Stefan Behnel
<stefan_ml@behnel.de>
Mon, 29 Oct 2012 17:08:09 +0000
(18:08 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Mon, 29 Oct 2012 17:08:09 +0000
(18:08 +0100)
Cython/Build/Dependencies.py
patch
|
blob
|
history
diff --git
a/Cython/Build/Dependencies.py
b/Cython/Build/Dependencies.py
index
5598e0c
..
640fcd3
100644
(file)
--- a/
Cython/Build/Dependencies.py
+++ b/
Cython/Build/Dependencies.py
@@
-718,6
+718,12
@@
def cythonize_one(pyx_file, c_file, fingerprint, quiet, options=None, raise_on_f
except (EnvironmentError, PyrexError), e:
sys.stderr.write('%s\n' % e)
any_failures = 1
+ except Exception:
+ if raise_on_failure:
+ raise
+ import traceback
+ traceback.print_exc()
+ any_failures = 1
if any_failures and raise_on_failure:
raise CompileError(None, pyx_file)
if fingerprint and not any_failures: