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 Matt.Gattis
Recipients Matt.Gattis
Date 2010-03-02.21:26:03
SpamBayes Score 0.0107404
Marked as misclassified No
Message-id <1267565166.19.0.574774228876.issue8042@psf.upfronthosting.co.za>
In-reply-to
Content
If you do:

import io,mmap

b = io.BytesIO("abc")
m = mmap.mmap(-1,10)
m.seek(5)
b.readinto(m)

M is now:
'abc\x00\x00\x00\x00\x00\x00\x00'

Basically there is no way to readinto/recv_into an arbitary position in an mmap object without creating a middle-man string.
History
Date User Action Args
2010-03-02 21:26:06Matt.Gattissetrecipients: + Matt.Gattis
2010-03-02 21:26:06Matt.Gattissetmessageid: <1267565166.19.0.574774228876.issue8042@psf.upfronthosting.co.za>
2010-03-02 21:26:04Matt.Gattislinkissue8042 messages
2010-03-02 21:26:03Matt.Gattiscreate