Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

A "proof of concept" patch, which shows the macros used to walk a unicode 
string and uses them in unicode_repr() (should not change behaviour) and in 
unicode_isprintable() (should fix the issue).

Other functions should be changed the same way, of course.

----------
keywords: +patch
Added file: http://bugs.python.org/file17922/join-surrogates.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9200>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to