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