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

Antoine Pitrou report at bugs.python.org
Thu Sep 9 01:12:03 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Actually, it would probably be simpler to export a _PyUnicode_Repr(PyUnicodeObject *, int only_ascii) function since all the code is already there in unicodeobject.c.

----------

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


More information about the Python-bugs-list mailing list