Updates: Labels: -NeedsReview PassedReview Comment #6 on issue 1735 by ondrej.certik: Use expr.func to get the head of expressions. http://code.google.com/p/sympy/issues/detail?id=1735
I am +0 on both patches (e.g. one argument for isinstance() is that it is easy for the new user to use it, since it's pythonic, while .func is sympy specific). But if this makes things easier for you (or some other patches), let's put it in. I don't have an opinion on "==" vs "is". -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- 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.