Robert Bradshaw wrote:
> Yes, the  
> arrays as they are now have a few warts (like using them in loops)  
> but I think it's too useful to disable altogether.

You could get the same effect in a much less misleading
way using

    cdef int data[] = [1, 2, 3, 4]
    cdef int *a = data

Now it's perfectly clear that a is pointing to something
stack-allocated. EIBTI.

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

Reply via email to