Author: Philip Jenvey <[email protected]>
Branch: fix-trace-jit
Changeset: r67725:ec3bde2a6d36
Date: 2013-10-29 21:33 -0700
http://bitbucket.org/pypy/pypy/changeset/ec3bde2a6d36/

Log:    remove now unnecessary return values

diff --git a/pypy/interpreter/executioncontext.py 
b/pypy/interpreter/executioncontext.py
--- a/pypy/interpreter/executioncontext.py
+++ b/pypy/interpreter/executioncontext.py
@@ -272,7 +272,7 @@
 
     def _trace(self, frame, event, w_arg, operr=None):
         if self.is_tracing or frame.hide():
-            return True
+            return
 
         space = self.space
 
@@ -312,7 +312,7 @@
                     event == 'c_call' or
                     event == 'c_return' or
                     event == 'c_exception'):
-                return False
+                return
 
             last_exception = frame.last_exception
             if event == 'leaveframe':
@@ -332,7 +332,6 @@
             finally:
                 frame.last_exception = last_exception
                 self.is_tracing -= 1
-        return False
 
     def checksignals(self):
         """Similar to PyErr_CheckSignals().  If called in the main thread,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to