[issue7649] "u'%c' % char" broken for chars in range '\x80'-'\xFF'

Ezio Melotti report at bugs.python.org
Thu Feb 25 18:06:40 CET 2010


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

The patch should apply cleanly on the latest revision of trunk (if you look at the diff it removes the code of the first version).

About the doc, I think it would be better to say that usually it's ASCII (or UTF-8 on Py3 -- Py3 doc should be fixed too), but it might be something different if it's changed using sys.setdefaultencoding().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7649>
_______________________________________


More information about the Python-bugs-list mailing list