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

New issue 2256 by [email protected]: Logical operators should reject non-boolean arguments
http://code.google.com/p/sympy/issues/detail?id=2256

Or(3, 11) is happily accepted by sympy, and Or(1, 15) even evaluates to True. The and/or/not operators should reject non-boolean arguments to avoid people mistaking them for bitwise operators.

(Distantly related to issue #2254)

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