[Cython] [PATCH] make memoryviews work when strides is NULL (unfinished)

Christoph Groth cwg at falma.de
Wed Sep 19 09:03:41 CEST 2012


Hi Mark,

> Thanks for the patch, it looks fine to me. If you want, you could make
> a pull request and I'll merge it.

Ok, the pull request is here:
https://github.com/cython/cython/pull/150

Please double-check that the dereferencing of buf->strides in
PyErr_SetString(PyExc_ValueError is still safe.  I lack the
understanding of Cython's memoryview support to do this myself.

Christoph



More information about the cython-devel mailing list