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

Jonathan Eunice report at bugs.python.org
Thu Jun 15 15:09:00 EDT 2017


New submission from Jonathan Eunice:

The textwrap module goes to great lengths to "do the right thing" when it finds the ASCII simulation of an em-dash (two or more consecutive hyphens), but it does nothing to recognize and similarly treat true (Unicode) em-dashes (aka '\N{EM DASH}', '\u2014', or U+2014). Real em-dashes should get at least as good a treatment as simulated em-dashes.

----------
components: Library (Lib)
messages: 296124
nosy: jonathaneunice
priority: normal
severity: normal
status: open
title: textwrap should treat Unicode em-dash like ASCII em-dash
type: enhancement
versions: Python 3.7

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


More information about the New-bugs-announce mailing list