[issue30680] textwrap should treat Unicode em-dash like ASCII em-dash

Inada Naoki report at bugs.python.org
Wed Oct 21 00:31:49 EDT 2020


Inada Naoki <songofacandy at gmail.com> added the comment:

> Agreed. It makes great sense that textwrap started as highly ASCII-centric. But in the Python 3, Unicode-friendly era, ASCII-biased isn't where we should leave things.

It needs Unicode experts. If we support Unicode, we should implemente UAX #14.
http://www.unicode.org/reports/tr14/tr14-45.html

But I am not sure some core developer love textwrap and Unicode enough to implement it.
It can be implemented in 3rd party package before adding it in stdlib.

Then, is U+2014 really important to implement even though we can not implement UAX#14 in foreseeable future?
It doesn't make sense to me.

----------
nosy: +methane

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


More information about the Python-bugs-list mailing list