Message82565
RDM, all the classes you mentioned should indeed be able to do "short
reads" on pipes, sockets and the like. That's how they are tested in
test_io.py: against mock raw i/o classes which only return a few bytes
at a time (e.g. only 5 bytes will be filled in a 4096-byte buffer).
However, I encourage you once again to *experiment* with the 3.x i.o
library and share your results with us. This is the best way for us to
know whether common use cases are really covered.
(Amaury, as for the `telling` flag in TextIOWrapper, we should so some
performance measurements, and then suppress it if there's no difference) |
|
Date |
User |
Action |
Args |
2009-02-21 13:14:14 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, r.david.murray |
2009-02-21 13:14:14 | pitrou | set | messageid: <1235222054.4.0.727005157206.issue5323@psf.upfronthosting.co.za> |
2009-02-21 13:14:13 | pitrou | link | issue5323 messages |
2009-02-21 13:14:12 | pitrou | create | |
|