This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients chris.jerdonek, ethan.furman, gward, jcea, pitrou, twouters
Date 2012-08-03.21:42:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344030168.51.0.861309944323.issue15510@psf.upfronthosting.co.za>
In-reply-to
Content
> For an empty string, sure -- for a string with nothing but white space, 
> no:

> --> wrap('   ')
> []

That's because wrap() suppresses extra whitespace by default. Once extra whitespace is suppressed, you are left with an empty text, meaning an empty list of lines. That's perfectly logical.
History
Date User Action Args
2012-08-03 21:42:48pitrousetrecipients: + pitrou, twouters, gward, jcea, chris.jerdonek, ethan.furman
2012-08-03 21:42:48pitrousetmessageid: <1344030168.51.0.861309944323.issue15510@psf.upfronthosting.co.za>
2012-08-03 21:42:47pitroulinkissue15510 messages
2012-08-03 21:42:46pitroucreate