New issue 1943: RuntimeError: settrace/setprofile function gets lost
https://bitbucket.org/pypy/pypy/issue/1943/runtimeerror-settrace-setprofile-function

Armin Rigo:

It's not possible to write a settrace() or setprofile() function that remains 
active if we're about to run out of stack.  If we are, we get a RuntimeError 
when the function is called.  The RuntimeError is normally propagated, but in 
case it is eaten (e.g. because we're in a hasattr()) then the program continues 
to run normally --- but the trace/profile function is disabled.  (This also 
occurs on CPython.)


_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to