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 catlee
Recipients Ben.Hearsum, catlee, flox, orsenthil, serhiy.storchaka
Date 2013-06-15.14:09:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371305366.5.0.505646111508.issue18167@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks, your patch is definitely much simpler!

I was worried about the case where you have interrupted \r\n that appears in the middle of the content. But that case is handled by the next readline(), which returns a single \n.

One question about the tests you've attached - would it be better to be explicit about the line endings in check()? Do triple quoted strings in python always use \n for EOL regardless of the source code EOL format?
History
Date User Action Args
2013-06-15 14:09:26catleesetrecipients: + catlee, orsenthil, flox, serhiy.storchaka, Ben.Hearsum
2013-06-15 14:09:26catleesetmessageid: <1371305366.5.0.505646111508.issue18167@psf.upfronthosting.co.za>
2013-06-15 14:09:26catleelinkissue18167 messages
2013-06-15 14:09:26catleecreate