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 benjamin.peterson
Recipients benjamin.peterson, berker.peksag, dstufft, r.david.murray
Date 2015-03-29.14:27:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427639251.14.0.0899877608419.issue23801@psf.upfronthosting.co.za>
In-reply-to
Content
The loop might be more elegantly expressed as

for line in self.fp:
    self.bytes_read += len(line)
    if line.strip() != b"--" + self.innerboundary:
        break

but otherwise lgtm
History
Date User Action Args
2015-03-29 14:27:31benjamin.petersonsetrecipients: + benjamin.peterson, r.david.murray, berker.peksag, dstufft
2015-03-29 14:27:31benjamin.petersonsetmessageid: <1427639251.14.0.0899877608419.issue23801@psf.upfronthosting.co.za>
2015-03-29 14:27:31benjamin.petersonlinkissue23801 messages
2015-03-29 14:27:31benjamin.petersoncreate