[pypy-svn] r48585 - pypy/branch/more-unicode-improvements/pypy/objspace/std

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Nov 11 23:39:43 CET 2007


Author: cfbolz
Date: Sun Nov 11 23:39:42 2007
New Revision: 48585

Modified:
   pypy/branch/more-unicode-improvements/pypy/objspace/std/unicodetype.py
Log:
add an XXX


Modified: pypy/branch/more-unicode-improvements/pypy/objspace/std/unicodetype.py
==============================================================================
--- pypy/branch/more-unicode-improvements/pypy/objspace/std/unicodetype.py	(original)
+++ pypy/branch/more-unicode-improvements/pypy/objspace/std/unicodetype.py	Sun Nov 11 23:39:42 2007
@@ -231,7 +231,7 @@
             w_value = unicode_from_object(space, w_obj)
     else:
         w_value = unicode_from_encoded_object(space, w_obj, encoding, errors)
-    # help the annotator! also the ._value depends on W_UnicodeObject layout
+    # XXX this is not true when there are different unicode implementations
     assert isinstance(w_value, W_UnicodeObject)
     w_newobj = space.allocate_instance(W_UnicodeObject, w_unicodetype)
     W_UnicodeObject.__init__(w_newobj, w_value._value)



More information about the Pypy-commit mailing list