Hi, We have currently
sage: x, y = var('x y') sage: fyx = function('f')(y, x) sage: fyx.arguments() (x, y) which is just the reverse of the expected output. Similarly, we have sage: atan2(y,x).arguments() (x, y) Taking a look at the code, one sees that fyx.arguments() calls fyx.variables(), which returns a "sorted tuple of variables that occur in this expression" (according to the documentation). The "sorted" action explains the result. But the latter remains plain false. Note that SymPy provides the correct result: sage: fyx._sympy_().args (y, x) sage: atan2(y,x)._sympy_().args (y, x) Eric. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/30ee081b-3337-42b8-b14e-f436b9f4d618n%40googlegroups.com.