Message82828
Interesting. The reason the io module calls read() more than once is
that BufferedReader is a generic wrapper which can be used on different
kinds of file-like objects, including sockets.
I'm not sure how to satisfy that use-case without compromising normal
error-handling behaviour. Perhaps the FileIO object, when receiving an
errno=5 on read(), should check for S_IFIFO on the fstat() result and
then return an empty string instead? |
|
Date |
User |
Action |
Args |
2009-02-27 10:28:03 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, ocean-city, zmedico |
2009-02-27 10:28:03 | pitrou | set | messageid: <1235730483.4.0.789517515985.issue5380@psf.upfronthosting.co.za> |
2009-02-27 10:28:01 | pitrou | link | issue5380 messages |
2009-02-27 10:28:01 | pitrou | create | |
|