Ezio Melotti <ezio.melo...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7649>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to