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 rishi.maker.forum
Recipients BreamoreBoy, Chui.Tey, flox, hynek, ishimoto, orsenthil, pitrou, r.david.murray, rishi.maker.forum, serhiy.storchaka, teyc
Date 2014-10-13.19:34:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413228899.11.0.282623430018.issue1610654@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine, I will upload a patch that relies on BufferedReader. As you mentioned, it will get rid of supporting the buffer and reduce a lot of code.
The only issue is that it helps me to know if the current buffer is at EOF (the documentation of peek does not mention  guaranteeing Eof if buffer returned is less than what we expect), because patterns at EOF are different, but I think I can work around that.
History
Date User Action Args
2014-10-13 19:34:59rishi.maker.forumsetrecipients: + rishi.maker.forum, ishimoto, orsenthil, pitrou, teyc, r.david.murray, flox, BreamoreBoy, hynek, serhiy.storchaka, Chui.Tey
2014-10-13 19:34:59rishi.maker.forumsetmessageid: <1413228899.11.0.282623430018.issue1610654@psf.upfronthosting.co.za>
2014-10-13 19:34:59rishi.maker.forumlinkissue1610654 messages
2014-10-13 19:34:59rishi.maker.forumcreate