STINNER Victor added the comment: I patched PyMem_RawMalloc(), but I forgot _Py_DecodeUTF8_surrogateescape() which is specific to OSX. The following changeset fixed this issue:
Ok, I missed this function specific to OSX: changeset: 84501:31a635303e55 tag: tip user: Victor Stinner <victor.stin...@gmail.com> date: Sun Jul 07 22:57:45 2013 +0200 files: Objects/unicodeobject.c description: Issue #18203: Fix _Py_DecodeUTF8_surrogateescape(), use PyMem_RawMalloc() as _Py_char2wchar() ---------- resolution: -> fixed status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18398> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com