[pypy-svn] rev 485 - pypy/trunk/src/pypy/objspace/std

mwh at codespeak.net mwh at codespeak.net
Mon May 26 19:41:00 CEST 2003


Author: mwh
Date: Mon May 26 19:41:00 2003
New Revision: 485

Modified:
   pypy/trunk/src/pypy/objspace/std/objspace.py
Log:
add comment about issue that bothers me


Modified: pypy/trunk/src/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/objspace.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/objspace.py	Mon May 26 19:41:00 2003
@@ -97,6 +97,9 @@
         return moduleobject.W_ModuleObject(self, w_name)
 
     def newstring(self, chars_w):
+        # nyyyaaaaaaaaagh!  what do we do if chars_w is not a list, or
+        # if it is a list, but contains things other than wrapped
+        # integers -- mwh
         chars = [chr(self.unwrap(w_c)) for w_c in chars_w]
         import stringobject
         return stringobject.W_StringObject(''.join(chars))


More information about the Pypy-commit mailing list