[Numpy-discussion] Zeros in strides

Travis Oliphant oliphant.travis at ieee.org
Thu Feb 2 18:51:12 CST 2006


Sasha wrote:

>Sure.  I've started working on a "proof of concept" patch and will post it soon.
>
>  
>
Great. 

>>I'm concerned that your proposal has too many potential pitfalls.  At
>>least you haven't addressed them sufficiently.   My current inclination
>>is to simply disallow setting the strides attribute now that the
>>misaligned segments of code have been tested.
>>    
>>
>
>That would be an unfortunate result of my post :-(  I would suggest
>just to disallow zero strides in PyArray_CheckStrides until I can
>convince you that they are not that dangerous.
>  
>
Inclinations to... and actual plans to... are quite different things 
:-)  So, I'm waiting and seeing.  You may be on to something.  Let's see 
what others think and what you really have in mind.

-Travis





More information about the Numpy-discussion mailing list