STINNER Victor added the comment: Here is a patch reverting changes of the PEP 393, as suggested by Martin von Loewis. With the patch, array uses Py_UNICODE* type for the 'u' format. So array.array('u', '\u0010ffff')[0] should return '\uDBFF' on Windows.
---------- keywords: +patch Added file: http://bugs.python.org/file26646/array_revert_pep393.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13072> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com