[pypy-svn] r26570 - pypy/dist/pypy/rpython/ootypesystem

nik at codespeak.net nik at codespeak.net
Sat Apr 29 11:45:21 CEST 2006


Author: nik
Date: Sat Apr 29 11:45:18 2006
New Revision: 26570

Modified:
   pypy/dist/pypy/rpython/ootypesystem/rstr.py
Log:
some comments about the state of ootype strings. unfortunately i didn't
really progress as much as i would have liked.


Modified: pypy/dist/pypy/rpython/ootypesystem/rstr.py
==============================================================================
--- pypy/dist/pypy/rpython/ootypesystem/rstr.py	(original)
+++ pypy/dist/pypy/rpython/ootypesystem/rstr.py	Sat Apr 29 11:45:18 2006
@@ -3,6 +3,22 @@
 from pypy.rpython.ootypesystem.ootype import Signed, Record, String, make_string
 
 class StringRepr(AbstractStringRepr):
+    """
+    Some comments about the state of ootype strings at the end of Tokyo sprint
+
+    What was accomplished:
+    - The rstr module was split in an lltype and ootype version.
+    - There is the beginnings of a String type in ootype.
+    - The runtime representation of Strings is a subclass of the builtin str.
+      The idea is that this saves us from boilerplate code implementing the
+      builtin str methods.
+
+    Nothing more was done because of lack of time and paralysis in the face
+    of too many problems. Among other things, to write any meaningful tests
+    we first need conversion from Chars to Strings (because
+    test_llinterp.interpret won't accept strings as arguments). We will need a
+    new low-level operation (convert_char_to_oostring or some such) for this.
+    """
 
     lowleveltype = String
 



More information about the Pypy-commit mailing list