Comment #1 on issue 2966 by [email protected]: Option to sympify() to
convert == to Eq() (or lhs - rhs)
http://code.google.com/p/sympy/issues/detail?id=2966
I had assumed there was a very intentional reason for the difference
between '==' and 'Eq()' in the Sympy community. However, I specifically
wanted use of the '==' to do what Eq() does, so for a couple of my
projects, I've simply added these two lines in one of my key import files:
-----
from sympy import Basic, Eq
Basic.__eq__ = Eq
-----
Where one wants to reassign the '==' operator, is reassigning the
Basic.__eq__ function a no-no? If not, it seems to me that this approach
might be a simple -- if not esoteric -- solution.
--
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.