[issue22687] horrible performance of textwrap.wrap() with a long word
Antoine Pitrou
report at bugs.python.org
Thu Nov 13 19:21:26 CET 2014
Antoine Pitrou added the comment:
> Aren't ['this-', 'is-a', '-useful-', 'feature'] and
> ['what-d', "'you-", 'call-', 'it.'] obvious bugs?
Obvious according to which rules?
If we want to improve the behaviour of textwrap, IMHO it should be in a separate issue. And someone would have to study the word-wrapping rules of the English language :-)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22687>
_______________________________________
More information about the Python-bugs-list
mailing list