Differences of "!=" operator behavior in python3 and python2 [ bug? ]

Fábio Santos fabiosantosart at gmail.com
Mon May 13 13:26:50 EDT 2013


On 13 May 2013 11:04, "Alister" <alister.ware at ntlworld.com> wrote:
> this looks to me like an issue with operator precidence
>
> you code is evaluating as (Not x) == y
> rather than not (x == y)

I can say for sure that the precedence is as expected. I always use "not
... == ..." Instead of !=.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130513/a813802d/attachment.html>


More information about the Python-list mailing list