[pypy-svn] r15291 - pypy/dist/pypy/module/_codecs

tismer at codespeak.net tismer at codespeak.net
Thu Jul 28 21:25:11 CEST 2005


Author: tismer
Date: Thu Jul 28 21:25:10 2005
New Revision: 15291

Modified:
   pypy/dist/pypy/module/_codecs/app_codecs.py
Log:
added a note about app_codecs, which is now and
should stay RPythonic (geninterp-able).

Modified: pypy/dist/pypy/module/_codecs/app_codecs.py
==============================================================================
--- pypy/dist/pypy/module/_codecs/app_codecs.py	(original)
+++ pypy/dist/pypy/module/_codecs/app_codecs.py	Thu Jul 28 21:25:10 2005
@@ -1,3 +1,7 @@
+# Note:
+# This *is* now explicitly RPython.
+# Please make sure not to break this.
+
 """
 
    _codecs -- Provides access to the codec registry and the builtin
@@ -198,7 +202,7 @@
     """None
     """
     res = PyUnicode_DecodeUnicodeEscape(data,len(data),errors)
-    res = ''.join(res)
+    res = u''.join(res)
     return res, len(res)
 
 



More information about the Pypy-commit mailing list