Comment #23 on issue 1823 by [email protected]: integral.atoms(Symbol) should introspect
http://code.google.com/p/sympy/issues/detail?id=1823
What about moving in the other direction: make atoms report (via _eval_atoms) mathematical symbols (not construction atoms) and make a lower level _atoms that does what atoms does now i.e. walk the expressions tree and report on what it finds. If an object has some symbols that have special meaning (like Integral i's i.function, i.variables, etc...) then that object should define a method for inspecting them. This is what the two methods that implement .symbols methods (for Order and Derivative) and .variables method (for Integral) are doing now.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.
