[pypy-commit] pypy virtual-arguments: backout 94ae6389689e
fijal
noreply at buildbot.pypy.org
Fri Jul 20 10:48:15 CEST 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: virtual-arguments
Changeset: r56269:2f882e19bb79
Date: 2012-07-20 10:43 +0200
http://bitbucket.org/pypy/pypy/changeset/2f882e19bb79/
Log: backout 94ae6389689e
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
@@ -556,8 +556,6 @@
start = l[0]
step = l[1]
length = l[2]
- if length < 0:
- length = 0
if wrap_items:
r = [None] * length
else:
More information about the pypy-commit
mailing list