Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 2526 by [email protected]: Making sympy __mul__s return NotImplemented wherever applicable
http://code.google.com/p/sympy/issues/detail?id=2526

Currently in Sympy, there are instances of __mul__ functions which do no return NotImplemented for types it is not aware of or types that it should not operate on. This gives some sort of exception instead of delegating the work to the right object's __rmul__.

For example, FF(2)(-1) * Matrix, fails because the __mul__ function of FF(q) does not recognize Matrix. But in that case it should let Matrix handle the multiplication.

--
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.

Reply via email to