[issue9200] str.isprintable() is always False for large code points
Amaury Forgeot d'Arc
report at bugs.python.org
Fri Jul 9 19:13:10 CEST 2010
Amaury Forgeot d'Arc <amauryfa at 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.
Added file: http://bugs.python.org/file17922/join-surrogates.patch
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list