[issue12845] PEP-3118: C-contiguity with zero strides

2014-09-19 Thread Stefan Krah
Stefan Krah added the comment: This was a bug in NumPy that has been fixed. -- resolution: -> not a bug stage: -> resolved status: open -> closed versions: +Python 3.5 -Python 3.3 ___ Python tracker _

[issue12845] PEP-3118: C-contiguity with zero strides

2014-06-24 Thread Mark Lawrence
Mark Lawrence added the comment: What is the status of this issue as according to the index PEP 3118 has been completed? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue12845] PEP-3118: C-contiguity with zero strides

2011-08-26 Thread Stefan Krah
New submission from Stefan Krah : Numpy and PyBuffer_IsContiguous() have different ideas of C-contiguity if there is a zero in strides (this is allowed, I asked Pauli Virtanen). >>> from numpy import * >>> nd = ndarray(shape=[10], strides=[0]) >>> nd.flags C_CONTIGUOUS : True F_CONTIGUOUS :