[Python-Dev] improvements for mmap (original) (raw)
Steve Holden steve at holdenweb.com
Thu Jan 8 17:29:52 CET 2009
- Previous message: [Python-Dev] improvements for mmap
- Next message: [Python-Dev] Getting importlib into the standard library for 3.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neal Becker wrote:
I'd like to suggest some improvements from mmap
1) mmap assign to slice only accepts a string. This is unfortunate, because AFAIK a string can only be created by copying data, and this is wasteful for large data transfers. mmap should accept any object supporting buffer protocol as well as string. 2) buffer (mmapobj) gives a readonly buffer. There should be a way to make this readwrite. 3) mmapobj does not support weak ref. Can you add these to the tracker as a feature request, please?
regards Steve
Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/
- Previous message: [Python-Dev] improvements for mmap
- Next message: [Python-Dev] Getting importlib into the standard library for 3.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]