[issue15510] textwrap.wrap('') returns empty list

Antoine Pitrou report at bugs.python.org
Sat Aug 4 02:33:40 CEST 2012


Antoine Pitrou added the comment:

Le samedi 04 août 2012 à 00:32 +0000, Chris Jerdonek a écrit :
> But I feel this criterion was not applied to issue 1859.  wrap()'s
> behavior on newlines is broken to the point that multi-paragraph input
> is acknowledged as not working.  Additionally, because of that the
> keyword argument replace_whitespace has no clear use case.  That seems
> like an obvious bug to me.

Ok, I probably read the issue too quickly. Feel free to ignore my
comment then :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15510>
_______________________________________


More information about the Python-bugs-list mailing list