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

Andrew Berg bahamutzero8825 at gmail.com
Mon May 13 19:27:38 EDT 2013


On 2013.05.13 17:53, Mark Lawrence wrote:
> I much prefer the alternative <> for != but some silly people insisted 
> that this be removed from Python3.
It's not removed from Python 3, though:

Python 3.3.1 (v3.3.1:d9893d13c628, Apr  6 2013, 20:30:21) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import barry_as_FLUFL
>>> 3 <> 2
True

-- 
CPython 3.3.1 | Windows NT 6.2.9200 / FreeBSD 9.1



More information about the Python-list mailing list