[pypy-svn] r48499 - pypy/branch/unicode-objspace/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Sat Nov 10 12:52:38 CET 2007
Author: fijal
Date: Sat Nov 10 12:52:38 2007
New Revision: 48499
Modified:
pypy/branch/unicode-objspace/pypy/objspace/std/unicodeobject.py
Log:
A real annotation problem this time
Modified: pypy/branch/unicode-objspace/pypy/objspace/std/unicodeobject.py
==============================================================================
--- pypy/branch/unicode-objspace/pypy/objspace/std/unicodeobject.py (original)
+++ pypy/branch/unicode-objspace/pypy/objspace/std/unicodeobject.py Sat Nov 10 12:52:38 2007
@@ -831,7 +831,7 @@
raise OperationError(
space.w_TypeError,
space.wrap("character mapping must return integer, None or unicode"))
- return W_UnicodeObject(''.join(result))
+ return W_UnicodeObject(u''.join(result))
# Move this into the _codecs module as 'unicodeescape_string (Remember to cater for quotes)'
def repr__Unicode(space, w_unicode):
More information about the Pypy-commit
mailing list