Status: Valid
Owner: ----
CC: [email protected]
Labels: Type-Defect Priority-Medium
New issue 3588 by [email protected]: _kern in simpify() has side effects
http://code.google.com/p/sympy/issues/detail?id=3588
Using _kern in sympify have at least one downside : classes or functions
which expect numbers will fail.
Actually I noticed this in custom classes, and I spent quite a lot of time
figuring out what was going wrong.
Here is a kind of minimal example with pure sympy code :
sympify('Interval(-1,-2 - 4*(-3))')
ValueError: Only real intervals are supported
The trouble is, _kern is used in evaluated code, so Interval is initialized
with expressions which are not numbers.
--
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.