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

Amaury Forgeot d'Arc report at bugs.python.org
Wed Feb 24 12:03:13 CET 2010


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Marc-André's remark was that if char<0x80 (the vast majority), it's not necessary to call any decode function: just copy the byte. Other cases (error, or non-default encoding) may use a slower path.

----------

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


More information about the Python-bugs-list mailing list