Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium
New issue 1991 by asmeurer: Don't use assert in the library code
http://code.google.com/p/sympy/issues/detail?id=1991
Basically, you should rewrite it to use an if construct and a proper
exception (ValueError, TypeError, NotImplementedError, or a special error
for the module are the usual suspects).
$ git grep assert | grep -v test
Will show most offending lines. I have already fixed matrices.py in my
integration3 branch.
--
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.