Updates:
Status: Valid
Comment #1 on issue 3587 by [email protected]: sympy crashes python when
evaluating (0*pi)%float(1)
http://code.google.com/p/sympy/issues/detail?id=3587
This is just S.Zero % 1.0.
Based on the traceback, this is probably related to the fact that
S.Zero.evalf() gives S.Zero, not a Float. An easy solution would be to
just define __mod__ on S.Zero. Probably, though, we should change
Rational.__mod__ to not assume that evalf() returns a Float.
--
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.