Robert Bradshaw wrote:

> It's on the stack, just like literals.

What do you mean, "just like literals"? What literal
is ever allocated on the stack?

 > However, one can write
> 
> def foo(x, y):
>      cdef double* a
>      if x:
>          a = [1,2,3,x]
>      else:
>          a = [1,2,3,y]

Now I'm *really* confused. What the heck does that do?
Can you provide a C translation?

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

Reply via email to