[issue7022] Doc update for io module
Antoine Pitrou
report at bugs.python.org
Thu Oct 1 12:55:09 CEST 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
If you are requesting new `start` and `end` arguments to readinto(), the
way to do that today is to use a memoryview:
# b is your bytearray, f your IO object
m = memoryview(b)[start:end]
f.readinto(m)
If you still want that feature, please open a separate bug (doc updates
and feature requests should be open separately) :-)
As for the first part of the report (RawIOBase.read), I'll look into it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7022>
_______________________________________
More information about the Python-bugs-list
mailing list