This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients georg.brandl, pakal, pitrou
Date 2009-10-01.10:55:02
SpamBayes Score 0.0060028
Marked as misclassified No
Message-id <1254394509.49.0.994721266868.issue7022@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-10-01 10:55:09pitrousetrecipients: + pitrou, georg.brandl, pakal
2009-10-01 10:55:09pitrousetmessageid: <1254394509.49.0.994721266868.issue7022@psf.upfronthosting.co.za>
2009-10-01 10:55:03pitroulinkissue7022 messages
2009-10-01 10:55:03pitroucreate