[issue8670] c_types.c_wchar should not assume that sizeof(wchar_t) == sizeof(Py_UNICODE)

STINNER Victor report at bugs.python.org
Fri Oct 1 14:24:59 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Patch version 3:
 - fix unicode_aswidechar if Py_UNICODE_SIZE == SIZEOF_WCHAR_T and w == NULL (return the number of characters, don't write into w!)
 - improve unicode_aswidechar() comment

----------
Added file: http://bugs.python.org/file19083/aswidechar_nonbmp-3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8670>
_______________________________________


More information about the Python-bugs-list mailing list