Path: csiph.com!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.048 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'binary': 0.05; 'type,': 0.07; 'thu,': 0.15; 'operators.': 0.16; 'wrote:': 0.16; '2015': 0.20; 'either.': 0.22; 'sep': 0.22; 'am,': 0.23; 'fit': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'comparison': 0.29; 'operators': 0.29; 'received:google.com': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'things': 0.38; 'means': 0.39; 'does': 0.39; 'takes': 0.39; 'to:addr:python.org': 0.40; 'different': 0.63; 'home': 0.67; 'to:name:python': 0.84; 'subject:True': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ijIbqtd5A132muqZfvnH975T8glwxtKzbBOeIA2topc=; b=pcg1Kk+xUcN2bd0ZtpeWTAF/ptzGmqmW6t2w8T87rzYpD6TP9SUrbyaJ1hnfEwJHJ5 NIid5WShsNq/bRp9X5XMgLDaQ4kw0cxbgR5MBH6/VTKSGU7wGIQg/5PTiKxcArgN+uyw somXOkoW4UXnvJ+4Diq9304UMGSp+pyvq+3RazDYhTZkmmnokn0LaOQT957qfjfA7aR0 qCQAbSgFG61FD6WuCJKgv58k6ZgfANOGMuYtrqc+3/Yjxtl3F3MfMErMn6O9CH9ykFT8 K0VwWNpanKadA71D9g5vhxb7K012zI+hT2EtInw3wMk0KLMOSS/iDHYXhymzDLpldZ5F 7K+g== X-Received: by 10.170.163.4 with SMTP id f4mr707312ykd.93.1442515786446; Thu, 17 Sep 2015 11:49:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <0b949fe0-09b4-46b0-b4ac-a85a9bfebfd5@googlegroups.com> <1442412230.1762717.385286049.20841F36@webmail.messagingengine.com> From: Ian Kelly Date: Thu, 17 Sep 2015 12:49:06 -0600 Subject: Re: True == 1 weirdness To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442515790 news.xs4all.nl 23855 [2001:888:2000:d::a6]:58304 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3479 X-Received-Body-CRC: 3013246081 Xref: csiph.com comp.lang.python:96778 On Thu, Sep 17, 2015 at 1:06 AM, Jussi Piitulainen wrote: > Ordinary binary operators not only combine things of the same type, they > also produce a thing of that same type. So 'in' does not fit among them > either. > > I feel it's _more_ at home among comparison operators. (Hm. That's > 'operator' in a different sense.) Comparison operators *are* binary operators. All that "binary" means is that it takes two arguments.