Stefan Behnel, 27.01.2011 07:29:
> ticket #654 describes a problem with the order in which function call
> arguments are evaluated. I fixed it and it broke Sage.
>
> The problem was that in cases where some arguments are simple and others
> are not, the non-simple arguments are stuffed into a temp before hand, thus
> being evaluated before the other arguments. This can break side-effects of
> simple arguments, which include C function calls.
>
> My fix was to put all arguments into temps if any of them are in temps
> anyway.

BTW, I wonder if a better fix would be to declare C function calls 
non-simple in general.

Stefan
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to