Martin v. Löwis added the comment: Am 30.08.12 11:24, schrieb Stefan Krah: >>> The new equality definition and any possible new hash definition should >>> probably also be part of the buffer API documentation, since they >>> aren't memoryview specific. >> >> That's not true: they *are* memoryview-specific. The notion of equality >> is entirely one of memoryview objects, not of buffers. > > Could you name a part of the equality definition that is memoryview-specific?
As literally spelled out, it starts with "a memoryview and a PEP 3118 exporter". But I was actually thinking of the implementation... In any case, I'm skeptical that this is a useful extension to the buffer interface. You would imply "two exporters are equal iff their exported buffers are equal". I think this is asking too much. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15814> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com