Dec. 19, 2004
6:19 p.m.
Michael Hudson <mwh@python.net> wrote:
Josiah Carlson <jcarlson@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