[pypy-svn] r53763 - pypy/dist/pypy/rlib
arigo at codespeak.net
arigo at codespeak.net
Mon Apr 14 21:09:50 CEST 2008
Author: arigo
Date: Mon Apr 14 21:09:48 2008
New Revision: 53763
Modified:
pypy/dist/pypy/rlib/runicode.py
Log:
Trying to improve translation by making sure this is a list of characters.
Modified: pypy/dist/pypy/rlib/runicode.py
==============================================================================
--- pypy/dist/pypy/rlib/runicode.py (original)
+++ pypy/dist/pypy/rlib/runicode.py Mon Apr 14 21:09:48 2008
@@ -389,7 +389,7 @@
collend += 1
r, pos = errorhandler(errors, encoding, reason, p,
collstart, collend)
- result.append(r)
+ result += r # extend 'result' as a list of characters
return "".join(result)
More information about the Pypy-commit
mailing list