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 kristjan.jonsson, orsenthil, pitrou, serhiy.storchaka
Date 2013-09-13.15:37:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509816209.60125059.1379086665442.JavaMail.root@zimbra10-e2.priv.proxad.net>
In-reply-to <1379086514.46.0.489448409415.issue19009@psf.upfronthosting.co.za>
Content
> My original goal was actually to make response.read(amt) not try to
> make multiple read() calls, so that one could have other delimiters
> than newline.  It is simple for the chunked case, but I don't know
> how to bypass it for response.fp, since it is already a buffered
> file that has no guaranteed such behaviour.... wait, one can simply
> call peek() on it and know how much one can get :)

Or you can use read1()?
History
Date User Action Args
2013-09-13 15:37:51pitrousetrecipients: + pitrou, orsenthil, kristjan.jonsson, serhiy.storchaka
2013-09-13 15:37:51pitroulinkissue19009 messages
2013-09-13 15:37:51pitroucreate