[issue24665] Use unicodedata.east_asian_width in textwrap

Julien Palard report at bugs.python.org
Sun Jul 8 14:32:07 EDT 2018


Julien Palard <julien+python at palard.fr> added the comment:

Hi Inada, you're right and that's more or less why I not used CJK in the implementation: mainly I don't want to close the door to future enhancements on this topic (char width) of non-CJK languages (like those "invisible hyphens" here only to tell textwrapers where they can wrap inside of words, and so on).

I'll remove CJK mentions (sadly maybe not today).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24665>
_______________________________________


More information about the Python-bugs-list mailing list