[pypy-svn] r16057 - pypy/dist/pypy/interpreter

tismer at codespeak.net tismer at codespeak.net
Sun Aug 14 01:57:01 CEST 2005


Author: tismer
Date: Sun Aug 14 01:57:00 2005
New Revision: 16057

Modified:
   pypy/dist/pypy/interpreter/argument.py
Log:
a little change to fromshape, since the rtyper barfs on indexing a tuple.

Modified: pypy/dist/pypy/interpreter/argument.py
==============================================================================
--- pypy/dist/pypy/interpreter/argument.py	(original)
+++ pypy/dist/pypy/interpreter/argument.py	Sun Aug 14 01:57:00 2005
@@ -243,6 +243,8 @@
         args_w = data_w[:shape_cnt]
         p = shape_cnt
         kwds_w = {}
+        shape_keys = list(shape_keys) # XXX seems to be needed by the rtyper
+        # this showed up when I temporarily enabled geninterp
         for i in range(len(shape_keys)):
             kwds_w[shape_keys[i]] = data_w[p]
             p += 1



More information about the Pypy-commit mailing list