[pypy-svn] r59155 - pypy/trunk/pypy/module/_lsprof
fijal at codespeak.net
fijal at codespeak.net
Thu Oct 16 21:42:59 CEST 2008
Author: fijal
Date: Thu Oct 16 21:42:57 2008
New Revision: 59155
Modified:
pypy/trunk/pypy/module/_lsprof/interp_lsprof.py
Log:
ignore builtin events for now, let's not crash with fatal rpython error
at least when using cProfile
Modified: pypy/trunk/pypy/module/_lsprof/interp_lsprof.py
==============================================================================
--- pypy/trunk/pypy/module/_lsprof/interp_lsprof.py (original)
+++ pypy/trunk/pypy/module/_lsprof/interp_lsprof.py Thu Oct 16 21:42:57 2008
@@ -159,8 +159,8 @@
elif event == 'return':
w_self._enter_return(frame.getcode())
else:
- raise NotImplementedError("Call to %s" % event)
- # we don't support builtin calls here...
+ # we don't support builtin calls here, let's ignore them
+ pass
class W_Profiler(Wrappable):
def __init__(self, space, w_callable, time_unit, subcalls, builtins):
More information about the Pypy-commit
mailing list