[issue10542] Py_UNICODE_NEXT and other macros for surrogates
report at bugs.python.org
Sun Nov 28 00:49:08 CET 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> I suggest Py_UNICODE_ADVANCE() to avoid false suggestion that the
> iterator protocol is being used.
You can't use the iterator protocol on a non-PyObject, and Py_UNICODE_*
(as opposed to PyUnicode_*) suggests the macro operates on a raw array
of code points.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list