[issue22445] Memoryviews require more strict contiguous checks then necessary
Stefan Krah
report at bugs.python.org
Fri Oct 3 20:27:08 CEST 2014
Stefan Krah added the comment:
Okay, the whole thing isn't that urgent either.
Sorry for the confusion w.r.t slicing: I misremembered what the
latest numpy version did:
a)
>>> x = np.array([[1,2,3,]])
>>> x.strides
(9223372036854775807, 8)
b)
>>> x = np.array([[1,2,3], [4,5,6]])[:1]
>>> x.strides
(24, 8)
Somehow I thought that case b) would also produce the special marker,
but it doesn't, so all is well.
----------
priority: normal -> low
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22445>
_______________________________________
More information about the Python-bugs-list
mailing list