Updates: Cc: asmeurer Ronan.Lamy Comment #4 on issue 2018 by smichr: terms vs factors http://code.google.com/p/sympy/issues/detail?id=2018
Another possibility is to give foo.make_args an x argument like as_coeff_foo has to force a sifting of the arguments into those dependent and independent on x so
Mul.make_args(a*b*x, x) -> (a*b, x) Add.make_args(a+b+x, x) -> (a+b, x) -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-iss...@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.