[issue9804] ascii() does not always join surrogate pairs

Amaury Forgeot d'Arc report at bugs.python.org
Thu Sep 9 21:11:28 CEST 2010

Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I agree with the feature and the patch, with two minor nits:
- Py_UCS4 should be used in place of "unsigned long"
- "*p >= 0xD800" is the most selective test and should be the first

nosy: +amaury.forgeotdarc

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list