[pypy-svn] r17312 - pypy/dist/pypy/rpython

tismer at codespeak.net tismer at codespeak.net
Wed Sep 7 02:42:22 CEST 2005


Author: tismer
Date: Wed Sep  7 02:42:21 2005
New Revision: 17312

Modified:
   pypy/dist/pypy/rpython/rlist.py
Log:
yet another small bug in rlist mul,
found by the enhanced tests.

Modified: pypy/dist/pypy/rpython/rlist.py
==============================================================================
--- pypy/dist/pypy/rpython/rlist.py	(original)
+++ pypy/dist/pypy/rpython/rlist.py	Wed Sep  7 02:42:21 2005
@@ -739,10 +739,10 @@
     else:
         res = ll_newlist(typeOf(l), resultlen)
         j = 0
-    i = 0
     source = l.items
     target = res.items
     while j < resultlen:
+        i = 0
         while i < length:
             p = j + i
             target[p] = source[i]



More information about the Pypy-commit mailing list