New submission from Julien Palard <julien+pyt...@palard.fr>:

Currently it looks like our `textwrap.fill` implementation does not conforms to 
the Unicode Line Breaking Algorithm from the unicode standard.

Should this be enhanced?

If so, as a sidenote, it could be nice to have the override parameter of  
libunistring [1] to prohibit line breaking at specific places where the 
algorithm would normally break but where a human don't expect it to.

[1]: 
https://www.gnu.org/software/libunistring/manual/html_node/unilbrk_002eh.html

----------
components: Library (Lib)
messages: 378247
nosy: mdk
priority: normal
severity: normal
status: open
title: Textwrap to conform to https://www.unicode.org/reports/tr14/tr14-45.html

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41975>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to