Re: mmap only supports string

2009-01-08 Thread Robert Kern
Neal Becker wrote: Problem is, AFAIK a string can only be created as a copy of some other data. Say I'd like to take some large object and read/write to/from mmap object. A good way to do this would be the buffer protocol. Unfortunately, mmap only supports string. A string could on

Re: mmap only supports string

2009-01-08 Thread Aaron Brady
On Jan 7, 8:14 pm, Neal Becker wrote: > Problem is, AFAIK a string can only be created as a copy of some other data.   > Say I'd like to take some large object and read/write to/from mmap object.  A > good way to do this would be the buffer protocol.  Unfortunately, mmap only >

mmap only supports string

2009-01-07 Thread Neal Becker
Problem is, AFAIK a string can only be created as a copy of some other data. Say I'd like to take some large object and read/write to/from mmap object. A good way to do this would be the buffer protocol. Unfortunately, mmap only supports string. A string could only be created after co