Hello,
Repeated calls to 'coeff' give inconsistent results:
import sympy
x, y, a, b = sympy.symbols( 'x y a b')
f = a*x**2*y**2 + b*x*y**2
Then, the commands 'f.coeff(x,2).coeff(y,2)' and 'f.coeff(y,2).coeff(x,2)' both give 'a', which is correct.
The command f.coeff(y,0).coeff(x,2) gives 0 as expected.
However, f.coeff(x,2).coeff(y,0) gives 'a', which is wrong!
Is this a bug, or am I missing something obvious?
-Francesc