Message183061
On Windows, test_array can use an invalid surrogate pair to test this
issue: b'\xff\xdf\x61\x00' for example.
I don't know how to easily check the size of wchar_t.
ctypes.sizeof(ctypes.c_wchar) can be used, but ctypes is not always
available. sys.unicode is now always 0x10ffff since Python 3.3.
PyUnicode_GetMax() is not accessible in Python. |
|
Date |
User |
Action |
Args |
2013-02-26 14:34:12 | vstinner | set | recipients:
+ vstinner, jcea, ezio.melotti, python-dev, sbt, mjacob |
2013-02-26 14:34:12 | vstinner | link | issue17223 messages |
2013-02-26 14:34:12 | vstinner | create | |
|