Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.034 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; '===': 0.09; 'cc:addr :python-list': 0.11; 'boolean': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'notation': 0.16; 'notation.': 0.16; 'or)': 0.16; 'wrote:': 0.18; '(not': 0.18; 'wed,': 0.18; 'thu,': 0.19; 'saying': 0.22; 'cc:addr:python.org': 0.22; 'conjunction': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'mid': 0.31; 'sep': 0.31; 'steven': 0.31; 'another': 0.32; 'received:google.com': 0.35; 'crazy': 0.36; 'pm,': 0.38; 'middle': 0.60; 'subject:have': 0.80; "'and'": 0.84; 'subject:times': 0.84; 'to:none': 0.92; 'taught': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=mgvKa76Wb9ZrE7YrhMWB/e6uUJ9UGIwcTLQWQ37MAJw=; b=INCJBUgXU22Sdp5ntpv/j16bmcShME0WQDx+THnTQczvmlirSG5/+xZn9fioGsB+Y8 nIqm2ndOzkirTErQia0uP6BEbtT6VbiruEdfn9/CYwVtfO2O6Ukd42aIYnu8/dHfSKlK 3DGvWaAlbA1jWQaGSf9I+vjWNthgs6V6L2xPg9rYknzBcHQDZBx3VZpiLhu0c4ViIr9m h9Mv/0YKz4EiKvnTUaR9VTeVshP6SriqzufOsRORMSfq73t+zolSddvFVzLao0M6W+L2 da5IpD+Cr7KHiEkXjxNWOWNqnaMhTWLHgcl0+az8Zw9YRF/H82mZM7zFgHiNVxhBBS00 jz4w== MIME-Version: 1.0 X-Received: by 10.51.17.2 with SMTP id ga2mr6128858igd.2.1409830976594; Thu, 04 Sep 2014 04:42:56 -0700 (PDT) In-Reply-To: References: <5406726f$0$6512$c3e8da3$5496439d@news.astraweb.com> <4af60c7a-f4d6-4aa7-b181-fe768ea6f731@googlegroups.com> <5406c052$0$29876$c3e8da3$5496439d@news.astraweb.com> Date: Thu, 4 Sep 2014 21:42:56 +1000 Subject: Re: I have tried and errored a reasonable amount of times From: Chris Angelico Cc: "python-list@python.org" 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1409830979 news.xs4all.nl 2849 [2001:888:2000:d::a6]:40253 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77543 On Thu, Sep 4, 2014 at 9:17 PM, Denis McMahon wr= ote: > On Wed, 03 Sep 2014 07:16:34 +0000, Steven D'Aprano wrote: > >> Who uses + for disjunction (=E2=88=A8 OR) and concatenation for conjunct= ion (=E2=88=A7 >> AND)? That's crazy notation. > > The way I was taught it in the mid 1980s, a.b =3D=3D=3D a and b, a+b =3D= =3D=3D a or b. The middle dot is another notation for multiplication, as is abuttal (not actually concatenation, in this context). So they're all saying the same thing: boolean 'and' is multiplication, boolean 'or' is addition. ChrisA