Stefan Behnel wrote:

> Here, the RHS makes sense to me. Would
> 
>       cdef double *a = (0.5, 0.3, 0.1, 0.1)
> 
> also make sense to others?

I think it would be reasonable to allow either list or
tuple notation to be used, but if there is only to be
one, it should probably be a list, on the grounds that
a C array is more of a homogeneous structure than a
heterogeneous one.

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

Reply via email to