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 benjamin.peterson, neologix, petri.lehtinen, pitrou, sbt, stutzbach
Date 2011-11-04.14:33:39
SpamBayes Score 0.00025393604
Marked as misclassified No
Message-id <1320417220.33.0.515899292418.issue13322@psf.upfronthosting.co.za>
In-reply-to
Content
> Note that Java's BufferedInputStream and ReadableByteChannel also 
> return partial reads.

Apparently, they are specified to, even for blocking streams (which I find a bit weird, and the language in the docs seems deliberately vague). Python's buffered read(), though, is specified to return the requested number of bytes (unless EOF happens).
History
Date User Action Args
2011-11-04 14:33:40pitrousetrecipients: + pitrou, benjamin.peterson, stutzbach, neologix, sbt, petri.lehtinen
2011-11-04 14:33:40pitrousetmessageid: <1320417220.33.0.515899292418.issue13322@psf.upfronthosting.co.za>
2011-11-04 14:33:39pitroulinkissue13322 messages
2011-11-04 14:33:39pitroucreate