Message147004
| 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). |
|