[Cython] buffer shape incompatible with memoryview shape

mark florisson markflorisson88 at gmail.com
Thu Jun 21 12:38:11 CEST 2012


On 21 June 2012 09:59, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Hi,
>
> I find this worth fixing for 0.17:
>
> http://trac.cython.org/cython_trac/ticket/780
>
> Stefan
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> http://mail.python.org/mailman/listinfo/cython-devel

It seems that arrays are compared as pointer values, so it doesn't
even compare sensibly anyway. You can easily work around it by writing
(<object> memoryview).shape though. I think these
shape/strides/suboffset arrays should have a special type and coerce
to tuples when coercing to an object. Feel free to work on that, it
wouldn't really require touching much or any of the memoryview code,
it's not really on m priority list right now.

BTW, Stefan, how do we start Jenkins on the sage server? It's been
down for weeks now.


More information about the cython-devel mailing list