[issue20491] textwrap: Non-breaking space not honored
Serhiy Storchaka
report at bugs.python.org
Wed Oct 5 03:39:21 EDT 2016
Serhiy Storchaka added the comment:
The code of the textwrap module was changed since publishing the last patch. Proposed patch resolves conflicts and addresses Eric's comments.
Maybe add breaking Unicode spaces (OGHAM SPACE MARK, EN QUAD, etc) to _whitespace?
I think in future we should implement the Unicode line breaking algorithm [1].
[1] http://www.unicode.org/reports/tr14/
----------
Added file: http://bugs.python.org/file44968/honor-non-breaking-spaces2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20491>
_______________________________________
More information about the Python-bugs-list
mailing list