Commit 4676eec2 authored by Stefan Behnel's avatar Stefan Behnel

print a proper exception traceback when parallel cythonizing crashes

parent f43a1f0d
...@@ -840,7 +840,12 @@ def cythonize_one(pyx_file, c_file, fingerprint, quiet, options=None, raise_on_f ...@@ -840,7 +840,12 @@ def cythonize_one(pyx_file, c_file, fingerprint, quiet, options=None, raise_on_f
f.close() f.close()
def cythonize_one_helper(m): 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): def cleanup_cache(cache, target_size, ratio=.85):
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment