[pypy-commit] pypy virtual-arguments: backout 83240dd2b311

fijal noreply at buildbot.pypy.org
Fri Jul 20 10:48:11 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: virtual-arguments
Changeset: r56265:d644193e1e99
Date: 2012-07-20 10:43 +0200
http://bitbucket.org/pypy/pypy/changeset/d644193e1e99/

Log:	backout 83240dd2b311

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
@@ -764,8 +764,6 @@
             storage = self.erase(sublist)
             return W_ListObject.from_storage_and_strategy(self.space, storage, self)
         else:
-            if length < 0:
-                length = 0
             subitems_w = [self._none_value] * length
             l = self.unerase(w_list.lstorage)
             for i in range(length):


More information about the pypy-commit mailing list