[pypy-commit] pypy virtual-arguments: and yet another one
fijal
noreply at buildbot.pypy.org
Wed Jul 18 16:19:37 CEST 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: virtual-arguments
Changeset: r56164:1512d5e642b9
Date: 2012-07-18 16:19 +0200
http://bitbucket.org/pypy/pypy/changeset/1512d5e642b9/
Log: and yet another one
diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -873,6 +873,7 @@
@jit.unroll_safe
def _unpackiterable_known_length_jitlook(self, w_iterator,
expected_length):
+ assert expected_length >= 0
items = [None] * expected_length
idx = 0
while True:
More information about the pypy-commit
mailing list