[Python-Dev] mmap feature or bug? (original) (raw)

Josiah Carlson jcarlson at uci.edu
Sun Dec 19 19:19:32 CET 2004


Michael Hudson <mwh at python.net> wrote:

Josiah Carlson <jcarlson at uci.edu> writes: > Is one's inability to use a = mmapinstance.setslice;a(1,2,'a') (and > others) a feature or bug? I'm not entirely sure about this, though. Does mmapinstance.setitem(slice(1,2), 'a') work? AIUI setslice and getslice are out of favour these days (not sure though). Any patch to fix one of these would probably also fix the other almost as a sside-effect...

Accessing mmapi.setslice, mmapi.getslice, mmapi.getitem and mmapi.setitem fail with attribute errors.



More information about the Python-Dev mailing list