Joachim Saul wrote:

> def foo(list L):
>     cdef array arr  = L
> 
> given that at Python level
> 
>     arr = array(L)
> 
> is likely to work (depending on the *values* of L of course).

It wouldn't make sense to me. Constructing new objects
is not something you expect a plain assignment to do
in Python. It certainly shouldn't happen if the objects
in question are mutable.

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

Reply via email to