Comment #2 on issue 2526 by [email protected]: Making sympy __mul__s return NotImplemented wherever applicable
http://code.google.com/p/sympy/issues/detail?id=2526
They need not be. What I'm saying is all __mul__ functions should have ifs, elifs and elses. They should typecheck and perform multiplications for the types it can, for the others, they should return NotImplemented. So, in short, all __mul__ functions should have `else: return NotImplemented` in the last line, as a rule of thumb.
-- 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.
