Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1625 by tom.denniston: sympify of logical operations gets  
confused with ==
http://code.google.com/p/sympy/issues/detail?id=1625

I am using sympy 0.6.5 on linux but I see the behavior on windows too.

In [10]: sympy.sympify('A>2')
Out[10]: 2 < A

In [11]: sympy.sympify('A==2')
Out[11]: False


I even tried using the verbose "Equality" function:

This works and returns an expression that prints a "A == 2"
In [16]: sympy.sympify('Equality(A,2)')
Out[16]: A == 2

But "A == 2" will not sympify
In [17]: sympy.sympify('A == 2')
Out[17]: False

Using Equality() is very verbose so I was hoping that it was possible to
get == working.

--Tom


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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