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 pitrou
Recipients BreamoreBoy, Chui.Tey, flox, hynek, ishimoto, orsenthil, pitrou, r.david.murray, rishi.maker.forum, serhiy.storchaka, teyc
Date 2014-10-13.18:59:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413226768.66.0.723073368362.issue1610654@psf.upfronthosting.co.za>
In-reply-to
Content
Rishi, thanks for the patch. I was going to give a review but first I have to ask: is so much support code necessary for this?

Another approach would be to wrap self.fp in a io.BufferedReader (if it's not already buffered) and then use the peek() method to find the boundary without advancing the file pointer.
History
Date User Action Args
2014-10-13 18:59:28pitrousetrecipients: + pitrou, ishimoto, orsenthil, teyc, r.david.murray, flox, BreamoreBoy, hynek, serhiy.storchaka, Chui.Tey, rishi.maker.forum
2014-10-13 18:59:28pitrousetmessageid: <1413226768.66.0.723073368362.issue1610654@psf.upfronthosting.co.za>
2014-10-13 18:59:28pitroulinkissue1610654 messages
2014-10-13 18:59:28pitroucreate