[issue22445] Memoryviews require more strict contiguous checks then necessary

Sebastian Berg report at bugs.python.org
Fri Sep 19 22:25:45 CEST 2014


Sebastian Berg added the comment:

#12845 should be closed, seems like a bug in some old version. The definition now is simply that the array is contiguous if you can legally access it in a contiguous fashion. Which means first stride is itemsize, second is itemsize*shape[0] for Fortran, inverted for C-order.

----------

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


More information about the Python-bugs-list mailing list