|
From: Sasha <nd...@ma...> - 2006-02-03 18:09:10
|
On Feb 2, 2006, at 10:02 PM, Travis Oliphant wrote: >> >> Please let me know if you plan to change PyArray_CheckStrides so that >> we don't duplicate effort. >> >> > I won't do anything with it in the near future. > Attached patch deals with negative strides and prohibits zero strides. I think we can agree that this is the right behavior while zero-stride semantics are being discussed. Since I am touching C- API, I would like you to take a look before I commit. Also I am not sure "self->data - new->data" is always the right was to compute offset in array_strides_set . -- sasha |