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 chris.jerdonek
Recipients chris.jerdonek, ethan.furman, gward, jcea, pitrou, twouters
Date 2012-08-04.00:05:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344038724.28.0.898759875962.issue15510@psf.upfronthosting.co.za>
In-reply-to
Content
> > wrapping, "leading whitespace in the first line is always preserved,
> > though."
> Ok, then it's a bit fuzzy. That whitespace is as much trailing as
> leading, after all :)

That's why the word "always" is there. :)

> I'm not sure I see the relevance. strip() returns an empty string
> because its return type is a string, what else could it return?

My point was that your line of logic was not as clear-cut as you suggested.  One could argue that dropping whitespace to become the empty string is more reasonable than dropping it become "no string".

Is it your opinion that no changes to textwrap should be made in any versions that change existing behavior on some input?  Otherwise, what are your criteria?
History
Date User Action Args
2012-08-04 00:05:24chris.jerdoneksetrecipients: + chris.jerdonek, twouters, gward, jcea, pitrou, ethan.furman
2012-08-04 00:05:24chris.jerdoneksetmessageid: <1344038724.28.0.898759875962.issue15510@psf.upfronthosting.co.za>
2012-08-04 00:05:23chris.jerdoneklinkissue15510 messages
2012-08-04 00:05:23chris.jerdonekcreate