This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ezio.melotti, lemburg, stutzbach, theller, vstinner
Date 2010-10-02.11:17:32
SpamBayes Score 0.0006761753
Marked as misclassified No
Message-id <1286018254.24.0.588979019791.issue8670@psf.upfronthosting.co.za>
In-reply-to
Content
r85172 changes PyUnicode_AsWideCharString() (don't count the trailing nul character in the output size) and add unit tests.

r85173 patches unicode_aswidechar() to supports non-BMP characters for all known wchar_t/Py_UNICODE size combinaisons (2/2, 2/4 and 4/2).

I noticed that PyUnicode_AsWideChar() and PyUnicode_AsWideCharString() accept embeded nul characters. I don't know if it is a bug or an expected behaviour. Anyway, there is now a test for this case.
History
Date User Action Args
2010-10-02 11:17:34vstinnersetrecipients: + vstinner, lemburg, theller, stutzbach, ezio.melotti
2010-10-02 11:17:34vstinnersetmessageid: <1286018254.24.0.588979019791.issue8670@psf.upfronthosting.co.za>
2010-10-02 11:17:32vstinnerlinkissue8670 messages
2010-10-02 11:17:32vstinnercreate