Irit Katriel <[email protected]> added the comment:
textwrap does not actually apply the break-on-hyphen algorithm at all to long words. It just chops them up into depth-sized pieces. The PR I just submitted looks for hyphens and uses them as cut points if they exist, without any attempt to understand their context. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue28660> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
