[issue10521] str methods don't accept non-BMP fillchar on a narrow Unicode build

Alexander Belopolsky report at bugs.python.org
Thu Nov 25 08:13:26 CET 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Here is another proof of concept patch for the isalpha issue that introduces a higher level abstraction macro - Py_UNICODE_NEXT.  It should be possible to reuse this macro in all isxyz methods and other places where surrogates are currently processed.  I should be possible to come up with a pure macro definition of Py_UNICODE_NEXT.

----------
Added file: http://bugs.python.org/file19810/issue10521-unicode-next.diff

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


More information about the Python-bugs-list mailing list