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

mark florisson markflorisson88 at gmail.com
Wed Sep 19 11:52:43 CEST 2012


On 19 September 2012 08:03, Christoph Groth <cwg at falma.de> wrote:
> 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

Yeah, I think it needs a little more work. I'll see if I have some
time tonight, thanks!

> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> http://mail.python.org/mailman/listinfo/cython-devel


More information about the cython-devel mailing list