Status: Accepted
Owner: sherjilo...@gmail.com
Labels: Type-Defect Priority-Medium
New issue 2526 by sherjilo...@gmail.com: 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__ fu
Comment #1 on issue 2526 by asmeurer: Making sympy __mul__s return
NotImplemented wherever applicable
http://code.google.com/p/sympy/issues/detail?id=2526
It's a shame that Python's object model does not do this automatically.
Should FF(2)(1) perhaps be Basic or Expr?
--
You received this m
Comment #2 on issue 2526 by sherjilo...@gmail.com: 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 perf
Updates:
Cc: matt...@gmail.com
Labels: Polynomial Matrices
Comment #3 on issue 2526 by asmeurer: Making sympy __mul__s return
NotImplemented wherever applicable
http://code.google.com/p/sympy/issues/detail?id=2526
Well, if it derived from Basic, that would fix the problem, bec