Uwe Schmitt wrote:
>
> Hi,
>
> I got a problem with the following typedef
>
>    ctypedef  np.ndarray[np.double_t, ndim=1, negative_indices=False, 
> mode="c"] ndarray
<snip Cython exception>

>
> Is this a bug ?

Yes, Cython producing an exception during compilation is always a bug.

I must shamefully admit that this reminds me that I put "buffer 
typedefs" on my TODO list in summer, and never got around to do it, and 
completely forgot about it. This should work of course, though an 
acceptable first step is to disallow it in a more graceful fashion. 
Unfortunately I don't have much time for either now...

This is now ticket http://trac.cython.org/cython_trac/ticket/117

Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to