[issue9858] RawIOBase doesn't define readinto
Antoine Pitrou
report at bugs.python.org
Wed Sep 15 14:39:59 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> +1 for a failing one. (Does the base implementation not raise?)
The base implementation doesn't exist :)
> Is it even possible to implement a real one without buffering?
FileIO does. It's the same as read(), except that you read into an existing buffer rather than allocating a new bytes object.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9858>
_______________________________________
More information about the Python-bugs-list
mailing list