On 03/08/2012 21:46, Chris Jerdonek wrote:
I would like people's opinions on issue 15510, specifically whether it
should be addressed and in what versions:

http://bugs.python.org/issue15510

Jesús suggested that I ask.  The issue relates to textwrap.wrap()'s
behavior when wrapping strings that contain no non-whitespace
characters -- in particular the empty string.

If you don't want the empty list, you could just write:

    wrap(text) or ['']

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to