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:
f43a1f0
)
print a proper exception traceback when parallel cythonizing crashes
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 10 Aug 2013 08:26:31 +0000
(10:26 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 10 Aug 2013 08:26:31 +0000
(10:26 +0200)
Cython/Build/Dependencies.py
patch
|
blob
|
history
diff --git
a/Cython/Build/Dependencies.py
b/Cython/Build/Dependencies.py
index
b7c521c
..
ff62edb
100644
(file)
--- a/
Cython/Build/Dependencies.py
+++ b/
Cython/Build/Dependencies.py
@@
-840,7
+840,12
@@
def cythonize_one(pyx_file, c_file, fingerprint, quiet, options=None, raise_on_f
f.close()
def cythonize_one_helper(m):
- return cythonize_one(*m[1:])
+ import traceback
+ try:
+ return cythonize_one(*m[1:])
+ except Exception:
+ traceback.print_exc()
+ raise
def cleanup_cache(cache, target_size, ratio=.85):
try: