➜

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.

作者 chris.jerdonek
收信人 chris.jerdonek, ethan.furman, gward, jcea, pitrou, twouters
日期 2012-08-04.00:05:23
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1344038724.28.0.898759875962.issue15510@psf.upfronthosting.co.za>
In-reply-to
内容
> > 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?
历史
日期 用户 动作 参数
2012-08-04 00:05:24chris.jerdonek修改recipients: + chris.jerdonek, twouters, gward, jcea, pitrou, ethan.furman
2012-08-04 00:05:24chris.jerdonek修改messageid: <1344038724.28.0.898759875962.issue15510@psf.upfronthosting.co.za>
2012-08-04 00:05:23chris.jerdonek链接issue15510 messages
2012-08-04 00:05:23chris.jerdonek创建