Chris Angelico wrote at 2020-3-23 06:00 +1100: >When using textwrap.fill() or friends, setting break_long_words=False >without also setting break_on_hyphens=False has the very strange >behaviour that a long hyphenated word will still be wrapped.
Having worked with `TeX`, I am familiar that hyphens indicate word locations favorable to line breaks. Therefore, I understand that one wants a way to control whether or not breaks are allowed at hyphens, even if words should not be broken normally. Apparently, "break_on_hyphens" adds hyphen as a word delimiter. With this notion, the behavior can be understood. -- https://mail.python.org/mailman/listinfo/python-list