[pypy-commit] pypy virtual-arguments: another one
fijal
noreply at buildbot.pypy.org
Wed Jul 18 16:07:06 CEST 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: virtual-arguments
Changeset: r56158:89d75226367e
Date: 2012-07-18 16:06 +0200
http://bitbucket.org/pypy/pypy/changeset/89d75226367e/
Log: another one
diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py
--- a/pypy/objspace/std/listobject.py
+++ b/pypy/objspace/std/listobject.py
@@ -841,6 +841,7 @@
delta = -delta
newsize = oldsize + delta
# XXX support this in rlist!
+ assert delta >= 0
items += [self._none_value] * delta
lim = start+len2
i = newsize - 1
More information about the pypy-commit
mailing list