Message183717
It looks like PyUnicode_FromUnicode() should accept invalid UTF-16 surrogates because the array module indirectly relies on that:
On Windows (16-bit wchar_t/Py_UNICODE), len(array.array('u', '\U0010ffff')) is 2 and array.array('u', '\U0010ffff')[0] is '\udbff' (lone surrogate). |
|
Date |
User |
Action |
Args |
2013-03-08 01:27:36 | vstinner | set | recipients:
+ vstinner, jcea, ezio.melotti, python-dev, sbt, mjacob |
2013-03-08 01:27:36 | vstinner | set | messageid: <1362706056.24.0.532914438076.issue17223@psf.upfronthosting.co.za> |
2013-03-08 01:27:36 | vstinner | link | issue17223 messages |
2013-03-08 01:27:35 | vstinner | create | |
|