[issue15814] memoryview: equality-hash invariant

Stefan Krah report at bugs.python.org
Thu Aug 30 13:35:32 CEST 2012


Stefan Krah added the comment:

Here's a doc patch restricting the hash to formats 'B', 'b' and 'c'.
I think non-contiguous views are fine: both __eq__() and tobytes()
handle these, so the equality-hash invariant is preserved.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15814>
_______________________________________


More information about the Python-bugs-list mailing list