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

Florent Xicluna report at bugs.python.org
Thu Jan 7 14:02:39 CET 2010


Florent Xicluna <laxyf at yahoo.fr> added the comment:

Tested on 2.5...

~ $ python2.5
Python 2.5.2 (r252:60911, Jan  4 2009, 21:59:32) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> u'%c' % '\x80'
u'\Uffffff80'
>>> 

On 2.7 (trunk) I get same behaviour as described on msg97334.

----------
nosy: +flox

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


More information about the Python-bugs-list mailing list