[issue18398] Debug Python build fails on OS X: Fatal Python error: bad ID: Allocated using API 'm', verified using API 'r'

STINNER Victor report at bugs.python.org
Sun Jul 7 23:02:03 CEST 2013


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.stinner at 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 <report at bugs.python.org>
<http://bugs.python.org/issue18398>
_______________________________________


More information about the Python-bugs-list mailing list