[issue15814] memoryview: equality-hash invariant

Alexander Belopolsky report at bugs.python.org
Mon Sep 3 15:01:21 CEST 2012


Alexander Belopolsky added the comment:

On Mon, Sep 3, 2012 at 8:38 AM, Stefan Krah <report at bugs.python.org> wrote:
> I don't see what could possibly be ill-defined about using the
> tobytes() definition for ND-arrays. In all places memoryview now
> uses the logical array, which is displayed by tolist().

+1.  The key restriction is that to byte views.  ND aspect does not
complicate the logic once .tobytes() is properly implemented.

----------

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


More information about the Python-bugs-list mailing list