Author: Maciej Fijalkowski <[email protected]>
Branch: virtual-arguments
Changeset: r56180:1f99cb314a0d
Date: 2012-07-18 17:59 +0200
http://bitbucket.org/pypy/pypy/changeset/1f99cb314a0d/

Log:    another one

diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -222,6 +222,7 @@
 
     @jit.unroll_safe
     def peekvalues(self, n):
+        assert n >= 0
         values_w = [None] * n
         base = self.valuestackdepth - n
         assert base >= self.pycode.co_nlocals
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to