Hi Cython dev,
I am one of the two core developers of the Pythran[0] compiler.
We are planning to start a project where Cython would delegate the
generation of optimized (i.e. parallel / vectorized / without temporary
arrays) numpy expression when it finds one, instead of calling the
native API. S
Dave Hirschfeld writes:
>
> It appears that you can't assign an ndarray to a memoryview slice? Is
> this correct/expected behaviour?
>
> Whilst there are a couple of possible workarounds it would be nice if
> this just worked as it's a slightly surprising deviation from the
> ndarray behavio
It appears that you can't assign an ndarray to a memoryview slice? Is
this correct/expected behaviour?
Whilst there are a couple of possible workarounds it would be nice if
this just worked as it's a slightly surprising deviation from the
ndarray behaviour.
Broken example:
```
In [3]: %%cython