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

tismer at codespeak.net tismer at codespeak.net
Thu May 25 17:56:18 CEST 2006


Author: tismer
Date: Thu May 25 17:56:17 2006
New Revision: 27674

Modified:
   pypy/dist/pypy/rpython/rlist.py
Log:
set a reminder for a missing spot in rlist

Modified: pypy/dist/pypy/rpython/rlist.py
==============================================================================
--- pypy/dist/pypy/rpython/rlist.py	(original)
+++ pypy/dist/pypy/rpython/rlist.py	Thu May 25 17:56:17 2006
@@ -258,6 +258,10 @@
 
 def rtype_alloc_and_set(hop):
     r_list = hop.r_result
+    # XXX the special case for pyobj_repr needs to be implemented here as well
+    # will probably happen during NFS
+    if r_list == robject.pyobj_repr:
+        raise Exception, 'please implement this!'
     v_count, v_item = hop.inputargs(Signed, r_list.item_repr)
     cLIST = hop.inputconst(Void, r_list.LIST)
     return hop.gendirectcall(ll_alloc_and_set, cLIST, v_count, v_item)



More information about the Pypy-commit mailing list