Message100308
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. |
|
Date |
User |
Action |
Args |
2010-03-02 21:26:06 | Matt.Gattis | set | recipients:
+ Matt.Gattis |
2010-03-02 21:26:06 | Matt.Gattis | set | messageid: <1267565166.19.0.574774228876.issue8042@psf.upfronthosting.co.za> |
2010-03-02 21:26:04 | Matt.Gattis | link | issue8042 messages |
2010-03-02 21:26:03 | Matt.Gattis | create | |
|