Mark Dickinson added the comment: For what it's worth, I think there is a legitimate complaint here, though it was initially unclear to me exactly what that complaint was. Consider the following:
>>> from textwrap import * >>> T = TextWrapper(replace_whitespace=False, width=14) >>> for line in T.wrap('one two\nthree four'): print line ... one two three four The surprise (if I understand correctly) is not the first line break, but the second, between "three" and "four": it shouldn't be necessary, since "three four" fits quite happily on a line of length 14. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1859> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com