[pypy-commit] pypy virtual-arguments: and yet another one

fijal noreply at buildbot.pypy.org
Wed Jul 18 17:10:47 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: virtual-arguments
Changeset: r56169:d2d78fbf9217
Date: 2012-07-18 17:10 +0200
http://bitbucket.org/pypy/pypy/changeset/d2d78fbf9217/

Log:	and yet another one

diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__/functional.py
--- a/pypy/module/__builtin__/functional.py
+++ b/pypy/module/__builtin__/functional.py
@@ -125,6 +125,7 @@
     else:
         howmany = 0
 
+    assert howmany >= 0
     res_w = [None] * howmany
     v = start
     for idx in range(howmany):


More information about the pypy-commit mailing list