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

Ezio Melotti report at bugs.python.org
Tue Feb 23 14:45:43 CET 2010


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

Here's a new patch that uses PyUnicode_FromStringAndSize and PyUnicode_AS_UNICODE(s)[0]. I also added some comments and tested it and it seems to work fine.

----------
Added file: http://bugs.python.org/file16339/issue7649v3.diff

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


More information about the Python-bugs-list mailing list