[issue5323] document expected/required behavior of 3.x io subsystem with respect to buffering
Antoine Pitrou
report at bugs.python.org
Sat Feb 21 14:14:14 CET 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
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)
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5323>
_______________________________________
More information about the Python-bugs-list
mailing list