This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mdk
Recipients mdk
Date 2020-10-08.13:19:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602163198.82.0.518755458175.issue41975@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-10-08 13:19:58mdksetrecipients: + mdk
2020-10-08 13:19:58mdksetmessageid: <1602163198.82.0.518755458175.issue41975@roundup.psfhosted.org>
2020-10-08 13:19:58mdklinkissue41975 messages
2020-10-08 13:19:58mdkcreate