Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'guido': 0.05; 'preservation': 0.09; 'rossum': 0.09; 'subject:test': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; "'11": 0.16; 'backward': 0.16; 'finney': 0.16; 'preserving': 0.16; 'sender:addr:gmail.com': 0.17; 'fix': 0.17; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'developers': 0.25; 'van': 0.27; 'header:In-Reply-To:1': 0.27; 'fixed': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'that.': 0.31; "d'aprano": 0.31; 'equality': 0.31; 'steven': 0.31; 'writes:': 0.31; 'core': 0.34; 'received:google.com': 0.35; 'there': 0.35; 'wrong': 0.37; 'ben': 0.38; 'more': 0.64; 'jul': 0.74; 'subject::': 0.85; 'to:none': 0.92; 'numerous': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:cc:content-type:content-transfer-encoding; bh=dOXyGtDloG7mWpiC9FQEuKMrhPx4uzkaeXbO2qLlllo=; b=EoHUvV4z0oJxbD6ETrmYaZ3gFVX1MTPpQC0qGoMSt4xVrYAtK7Grd3j/fM2WF8vckN Ulf8pGqUcNxcWOAPu3qP7DTW2kuj6tb/bPm+ZROsWecZU9296e4LvNZ5+PcqsleKHjoN +oEpJ0OUEfSRALPALcrPhIo5ZP6+z37f9sWUC1WReQ/tPh+vwxfPTSNuDjCGrgqhexfg fdZI37JIikz/aLKLFtpHr5N3jHDaKjVBWqMQqGGlA8ytWX79I0kWrUFSD2jEw8/zbsyg 5zMWBgz1mCedePnvLPzWjNSxhzBNxW5/XdM15JSsCJmxqxqUUVdBGdDOIT784+LeXlRW 8sog== X-Received: by 10.112.41.168 with SMTP id g8mr19753652lbl.59.1414374941964; Sun, 26 Oct 2014 18:55:41 -0700 (PDT) MIME-Version: 1.0 Sender: joshua.landau.ws@gmail.com In-Reply-To: <85oasz3an3.fsf@benfinney.id.au> References: <54476af8$0$21651$426a74cc@news.free.fr> <7839376e-fc27-4299-ae63-4ddf17ef9a8a@googlegroups.com> <7d2ea3c1-504e-4f5c-8338-501b1483df38@googlegroups.com> <878uk6x5nd.fsf@elektro.pacujo.net> <544a1016$0$13000$c3e8da3$5496439d@news.astraweb.com> <544b2f15$0$12978$c3e8da3$5496439d@news.astraweb.com> <544c3bde$0$12988$c3e8da3$5496439d@news.astraweb.com> <85oasz3an3.fsf@benfinney.id.au> From: Joshua Landau Date: Mon, 27 Oct 2014 01:55:01 +0000 X-Google-Sender-Auth: 5811KRhLUG916VGnUk__GbuXCBc Subject: Re: (test) ? a:b Cc: python-list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414374950 news.xs4all.nl 2922 [2001:888:2000:d::a6]:53514 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79744 On 26 October 2014 01:03, Ben Finney wrote: > Steven D'Aprano writes: > >> I suspect that Guido and the core developers disagree with you, since >> they had the opportunity to fix that in Python 3 and didn't. > > That doesn't follow; there are numerous warts in Python 2 that were not > fixed in Python 3. As I understand it, the preservation of bool=E2=80=93i= nt > equality has more to do with preserving backward compatibility. Guido van Rossum answered Jul 28 '11 at 21:20, http://stackoverflow.com/questions/3174392/is-it-pythonic-to-use-bools-as-i= nts > False=3D=3D0 and True=3D=3D1, and there's nothing wrong with that.