Author: Maciej Fijalkowski <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit