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 loewis
Recipients alexandre.vassalotti, gregory.p.smith, loewis, pitrou
Date 2008-07-19.13:47:33
SpamBayes Score 0.000639986
Marked as misclassified No
Message-id <1216475254.64.0.318428334093.issue2523@psf.upfronthosting.co.za>
In-reply-to
Content
I don't understand the second loop (where n is given). If n is given,
there should be only a single read operation, using

  max(buffer_size, n-avail)

(i.e. the way it is in patch 2). In particular, if the stream is
unbuffered, it shouldn't ever end up with buffered data.
History
Date User Action Args
2008-07-19 13:47:35loewissetspambayes_score: 0.000639986 -> 0.000639986
recipients: + loewis, gregory.p.smith, pitrou, alexandre.vassalotti
2008-07-19 13:47:34loewissetspambayes_score: 0.000639986 -> 0.000639986
messageid: <1216475254.64.0.318428334093.issue2523@psf.upfronthosting.co.za>
2008-07-19 13:47:33loewislinkissue2523 messages
2008-07-19 13:47:33loewiscreate