[pypy-svn] r26152 - pypy/dist/pypy/rpython/lltypesystem

tismer at codespeak.net tismer at codespeak.net
Sun Apr 23 03:46:19 CEST 2006


Author: tismer
Date: Sun Apr 23 03:46:15 2006
New Revision: 26152

Modified:
   pypy/dist/pypy/rpython/lltypesystem/rtuple.py
Log:
external_items_r is needed when wrapping instances in tuples.
It is not yet clear how to go for the opposite, so this case is not
handled, yet.

Modified: pypy/dist/pypy/rpython/lltypesystem/rtuple.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/rtuple.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/rtuple.py	Sun Apr 23 03:46:15 2006
@@ -77,7 +77,7 @@
             v_item = llops.gencapicall('PyTuple_GetItem_WithIncref', [v, ci],
                                        resulttype = pyobj_repr)
             v_converted = llops.convertvar(v_item, pyobj_repr,
-                                           r_to.external_items_r[i])
+                                           r_to.items_r[i])
             vlist.append(v_converted)
         return r_to.newtuple(llops, r_to, vlist)
 



More information about the Pypy-commit mailing list