Comment #1 on issue 2012 by [email protected]: rewrite should also be a function
http://code.google.com/p/sympy/issues/detail?id=2012
The problem is that there is a name colission between method sympy.core.Basic.rewrite and module sympy.simplify.rewrite.
I would suggest to rename the module rewrite, then rewrite(sin(x), tan) would be an error. If the rewrite would be a function, then I don't see any reason why e.g. subs shouldn't be one also. It would be inconsistent.
-- 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.
