Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r67760:00579deb9c76
Date: 2013-10-31 09:23 +0100
http://bitbucket.org/pypy/pypy/changeset/00579deb9c76/

Log:    Translation fix: jit.set_param() is not supported with None if seen
        itself by the jit (for now).

diff --git a/pypy/interpreter/executioncontext.py 
b/pypy/interpreter/executioncontext.py
--- a/pypy/interpreter/executioncontext.py
+++ b/pypy/interpreter/executioncontext.py
@@ -217,6 +217,7 @@
         if frame:     # else, the exception goes nowhere and is lost
             frame.last_exception = operror
 
+    @jit.dont_look_inside
     def settrace(self, w_func):
         """Set the global trace function."""
         if self.space.is_w(w_func, self.space.w_None):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to