Author: Alex Gaynor <[email protected]>
Branch: jit-settrace
Changeset: r67575:df2698d1de51
Date: 2013-10-24 10:45 -0700
http://bitbucket.org/pypy/pypy/changeset/df2698d1de51/

Log:    fix for obscure annotation/jitting nonsense

diff --git a/pypy/interpreter/nestedscope.py b/pypy/interpreter/nestedscope.py
--- a/pypy/interpreter/nestedscope.py
+++ b/pypy/interpreter/nestedscope.py
@@ -165,7 +165,7 @@
 
     @jit.unroll_safe
     def init_cells(self):
-        if self.cells is None:
+        if not self.cells:
             return
         args_to_copy = self.pycode._args_as_cellvars
         for i in range(len(args_to_copy)):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to