Josiah Carlson email@example.com writes:
Quick questions: Is mmap's inability to be subclassed a feature or bug?
Like Martin said, a missing feature. I'd also quite like the mmap module to have a C API, but as my use case is especially evil (
) I'm not going to push that hard :)
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
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...