[pypy-commit] pypy default: Print at least the function name. Might be useful in a translated build.
arigo
noreply at buildbot.pypy.org
Wed May 18 09:59:59 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r44271:518555c57322
Date: 2011-05-18 10:09 +0200
http://bitbucket.org/pypy/pypy/changeset/518555c57322/
Log: Print at least the function name. Might be useful in a translated
build.
diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -561,6 +561,7 @@
elif callable.api_func.restype is not lltype.Void:
retval = rffi.cast(callable.api_func.restype, result)
except Exception, e:
+ print 'Fatal error in cpyext, calling', callable.__name__
if not we_are_translated():
import traceback
traceback.print_exc()
More information about the pypy-commit
mailing list