Comment #3 on issue 1625 by [email protected]: sympify of logical operations gets confused with ==
http://code.google.com/p/sympy/issues/detail?id=1625

I agree, this is most confusing.

== is supposed to be a shortcut for Relactional(x, y, "=="), yet sympify seems to do it's own thing:


In [1]: relational.Relational(sympify("x"), sympify("y"), "==")
Out[1]: x = y


vs.


In [2]: sympify("x == y")
Out[2]: False

Should the second form work?

It certainly works for inequalities:

In [3]: sympify("x >= y")
Out[3]: y <= x


Confused....


--
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.

Reply via email to