➜

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, gward, jcea, twouters
日期 2012-07-31.20:29:32
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1343766577.94.0.257776629393.issue15510@psf.upfronthosting.co.za>
In-reply-to
内容
Attaching patch with test cases.

I added 6 new tests:

*test_empty_string
test_whitespace_trailing
*test_drop_whitespace__all_whitespace
*test_initial_indent__empty_string
test_subsequent_indent__trailing_whitespace
test_subsequent_indent__long_indent

The starred ones fail with the current code (the test cases are similar to the snippets I included in my first comment).  The others fail under a certain incorrect implementation of this issue.  (I'm adding them to increase coverage of edge cases and to protect against future regressions.)
历史
日期 用户 动作 参数
2012-07-31 20:29:38chris.jerdonek修改recipients: + chris.jerdonek, twouters, gward, jcea
2012-07-31 20:29:37chris.jerdonek修改messageid: <1343766577.94.0.257776629393.issue15510@psf.upfronthosting.co.za>
2012-07-31 20:29:36chris.jerdonek链接issue15510 messages
2012-07-31 20:29:36chris.jerdonek创建