[Python-Dev] mmap feature or bug?
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.
- Josiah
More information about the Python-Dev
mailing list