Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'win32': 0.03; 'cpython': 0.05; 'subject:bug': 0.07; 'though:': 0.07; 'lawrence': 0.09; 'python': 0.11; 'windows': 0.15; '__future__': 0.16; 'insisted': 0.16; 'python3.': 0.16; 'silly': 0.16; 'subject:python3': 0.16; 'wrote:': 0.18; 'bit': 0.19; '>>>': 0.22; 'import': 0.22; 'header :User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'skip:( 20': 0.30; 'but': 0.35; 'received:google.com': 0.35; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'more': 0.64; '3.3.1': 0.84; '9.1': 0.84; 'freebsd': 0.84; '2013,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=9pri555CiYXbExgkJm+ZLV6CQ8gFKzIVMp7qqACrvQA=; b=eJNevvLiPQMrzyGDBs2fwc8dDptnX4vskRaHlXoUIRN4TsC/S5WI4Nk8632Lv2g+8k pFG/48iQMnWux2Igw+pqMtNmYxe5weojcqkSy9vk0CtO/GIS/VNMC2WYKYmEL4qbsrxG E+cgtsKy0ZlfG6QBidFxNV0xf+HgpX5j8vZ9Cl59cBOsGhGP5Oos1biO9w7Evu2Yzv3s MO4fN6dxBqtdSplw1BXNi3m5jGZh4z23+Be+oEOdRxSuJb4tBBNEOLIZk8AoqkFK8Ihc 0znREHWqBHDNNWjTG0+czYHq8M+Ul5XR5VrUYr0QdcuK8Sc/CyNSAC/UFc51ePUZel95 i4Eg== X-Received: by 10.50.72.113 with SMTP id c17mr278137igv.51.1368487661963; Mon, 13 May 2013 16:27:41 -0700 (PDT) Date: Mon, 13 May 2013 18:27:38 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: Differences of "!=" operator behavior in python3 and python2 [ bug? ] References: <51912C27.3020809@nedbatchelder.com> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1368487665 news.xs4all.nl 15929 [2001:888:2000:d::a6]:36645 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45270 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