[pypy-commit] pypy default: Fix enumerating oo rlists.

jerith noreply at buildbot.pypy.org
Fri Feb 22 16:51:25 CET 2013


Author: Jeremy Thurgood <firxen at gmail.com>
Branch: 
Changeset: r61611:12bfeabef144
Date: 2013-02-22 17:20 +0200
http://bitbucket.org/pypy/pypy/changeset/12bfeabef144/

Log:	Fix enumerating oo rlists.

diff --git a/rpython/rtyper/ootypesystem/rlist.py b/rpython/rtyper/ootypesystem/rlist.py
--- a/rpython/rtyper/ootypesystem/rlist.py
+++ b/rpython/rtyper/ootypesystem/rlist.py
@@ -241,6 +241,7 @@
 
     def __init__(self, r_list):
         self.r_list = r_list
+        self.external_item_repr = r_list.external_item_repr
         self.lowleveltype = ootype.Record(
                 {"iterable": r_list.lowleveltype, "index": ootype.Signed})
         self.ll_listiter = ll_listiter


More information about the pypy-commit mailing list