Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: comp.lang.python Subject: Re: Operator Precedence/Boolean Logic Date: Thu, 23 Jun 2016 10:23:02 +0200 Lines: 20 Message-ID: References: <15997174-44d5-431c-8f90-a8d700921820@googlegroups.com> <56ecacd4-cc17-48ec-9830-57c8113d16f6@googlegroups.com> <3a840cef-24d2-4abb-8e5b-dc80bf48944d@googlegroups.com> <63fe7ea9-a14f-94a2-cdd5-27aa902fbf6b@online.de> <576b8a41$0$2792$c3e8da3$76491128@news.astraweb.com> <0027b7d7-3f27-43a9-89f8-31ca1ab4382a@online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de VNKZiaD5fwKsYvQVmKccggMlRm4jfIi4oW4YE8B74rMg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.042 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'false.': 0.07; 'received:192.168.178': 0.07; 'indeed,': 0.09; '2016': 0.16; 'andreas': 0.16; 'freezes': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'zero,': 0.16; 'wrote:': 0.16; 'header :In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'subject:/': 0.30; "d'aprano": 0.33; 'steven': 0.33; 'values.': 0.33; 'that,': 0.34; 'false': 0.35; 'should': 0.36; 'there': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'one,': 0.37; 'why': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'different': 0.63; 'received:212.227.17': 0.66; 'thursday': 0.66; 'manner': 0.69; 'truth': 0.79; 'received:212.227.17.10': 0.84 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0 In-Reply-To: <576b8a41$0$2792$c3e8da3$76491128@news.astraweb.com> X-Provags-ID: V03:K0:NyOxDayj3ZDN+Dk1q1KDCn7tx3QdzKDfzV4oNeG6u+ko5biS9gs hCRXxWmDiqOya1b88YPUjAdqSm4P28uHCloCBeN50/tTclfKl1rdIYLC0AM/1kGORpjhhJw K7ZSfxcBkKdMrf4vMRQA3+IogLBwuYNGPaCEC861lXA+H3hJ0eKppFkLvMHHktO0RabNCpB BkeMowD70nKl+p02p57Rg== X-UI-Out-Filterresults: notjunk:1;V01:K0:Qh2SM+WDEMU=:l//zPcn9Sp7GI1q7OsQ7aC zEKVHJ9u4JvdEcshwE8LqPY10df/Z94t1Su4m2m2Prulwoh7a13z5CbrnaziIMBlF4yvgeptL q4u76FcY6VS1qOOEidKsTEP/Zon2H0evrJIuSCi2bDMwRY3Tc8oxH86IypBW8t2XIrtEvwcQW XgGGFrwbVPdMgMrphPUX4ickdBoMvruR6Jlbs+AbNNEMts7R+OZH57QFMERp6Pttoix4GKwPI NcBx3XXS4GDCdZx2sjiEnVQ64swyXWaGWjTnOWhOYG2oOFPC4mIEVZQ/HIZ+jhofIMZvGzjej EpuYnh3urdFoRxyo7xCQ/qomvzLghHnXD85IeEPR+9J7UI/vvZ1KjXXg5KjwZ4AKhF4lNR3Bx tZzuAdfZMBnsNw5AxBQjxzODD1VBDUKx8CE44YZjfDZX7NOSvyo83cGwHs0JLjKIABuLq7cSO Xf4vxXUGxEPbJm0KdU8/qzoQOvCqAJN2PJ7uA+/7ePQwJbYYi53212UXbCbPhnA6R5PGUajOX BUujIPD7gKtxpD8QcKIHr7xO3BgH7bk/njsXW+8F6PpePXy6FLcLnHf22eJ1o5HBlNj9ptmzQ rtnpDi6++35jaylwsgjNN9x36U5T+XbNTEV4pYlCck91nhrvxJqbdtwmwniLLUyx04oxO94OT WYBI+4IidGA15QQHEtF0Rw9nTAdaD7rL+DPGZvampBTO8O/mZyafkx4z1OuqGBomx98+OkaCa Pa9fETj2xkN4ZMQe X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <0027b7d7-3f27-43a9-89f8-31ca1ab4382a@online.de> X-Mailman-Original-References: <15997174-44d5-431c-8f90-a8d700921820@googlegroups.com> <56ecacd4-cc17-48ec-9830-57c8113d16f6@googlegroups.com> <3a840cef-24d2-4abb-8e5b-dc80bf48944d@googlegroups.com> <63fe7ea9-a14f-94a2-cdd5-27aa902fbf6b@online.de> <576b8a41$0$2792$c3e8da3$76491128@news.astraweb.com> Xref: csiph.com comp.lang.python:110381 On 23.06.2016 09:05, Steven D'Aprano wrote: > On Thursday 23 June 2016 16:34, Andreas Röhler wrote: > >> Indeed, why should the result of 4 - 4 have a different truth-value than >> 4 - 3 ? > Because 4-4 is zero, which is "nothing", Hmm, water freezes at zero degree celsius, because there is no temperature? > while 4-3 is one, which is > "something". > > You might as well ask why False and True have different truth values. > Ironically, in a manner of speaking you *did* ask that, since 4-3 == True and > 4-4 == False. > >