On Sun, Mar 2, 2014 at 5:44 PM, Cameron Simpson <c...@zip.com.au> wrote: > Have you considered subclassing memoryview and giving the subclass > a __hash__ method?
>>> class MyMemoryView(memoryview): ... def __hash__(self): return 42 ... Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: type 'memoryview' is not an acceptable base type -- https://mail.python.org/mailman/listinfo/python-list