Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96836
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.009 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'operator': 0.03; 'implies': 0.09; 'notation.': 0.09; 'semantics': 0.09; 'python': 0.10; 'expression"': 0.16; 'mathematics.': 0.16; 'op1': 0.16; 'op2': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'math': 0.20; '2015': 0.20; 'meant': 0.22; "aren't": 0.22; 'sep': 0.22; 'wrote': 0.23; "python's": 0.23; 'header:In-Reply-To:1': 0.24; 'all.': 0.24; 'connected': 0.27; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'actual': 0.28; 'notation': 0.29; 'url:wikipedia': 0.29; 'url:wiki': 0.30; 'operations': 0.31; 'related': 0.32; 'statement': 0.32; 'received:google.com': 0.35; 'could': 0.35; 'should': 0.36; 'there': 0.36; 'url:org': 0.36; 'to:addr:python- list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'things': 0.38; 'means': 0.39; 'url:en': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'more': 0.63; 'believe': 0.66; 'article': 0.77; '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=RXc6SZ7I4G1uI2S8N1ucmMrgnEFSIACag6b8QiGZ+ko=; b=at7qEEoLIDlvU5gyZHaw/aQovklxGhMQ6vAgt/11/6gvG/9mB1jFxBuT1MffSXnIHz JilQNu4GJWBT9IFys39kEuoNnj8zLNsy4QOyqgq1rPKT4ej2tYxtvTjiW3APMkFsUaK+ A/HPrA5uqJJW0cQ0Z99zfpH8f0k4Teq2ZSIe3Rjkya6fvfFlAGQxxA4B7ajgEx38USMQ KjypxDwPkQ55PSh12sdtMzGVU8Z5pq0s4HHDvjsP9TmM7ad1QN1dXBkVIiFIK4HBjFO3 2fPhl70Gh8+CtACrCcUT+uUHJVdKODvNSt0QBJgiMePBurMs4OHaG6R7JJwEryJV/DiI nrKA== |
| X-Received | by 10.170.163.4 with SMTP id f4mr6486951ykd.93.1442610854331; Fri, 18 Sep 2015 14:14:14 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <1442603558.2508492.387585473.6851D82C@webmail.messagingengine.com> |
| References | <mailman.30.1442580482.16376.python-list@python.org> <55fc0e4d$0$1645$c3e8da3$5496439d@news.astraweb.com> <1442583652.2433512.387297097.0C910B45@webmail.messagingengine.com> <mthktk$q5p$1@ger.gmane.org> <1442603558.2508492.387585473.6851D82C@webmail.messagingengine.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Fri, 18 Sep 2015 15:13:34 -0600 |
| Subject | Re: True == 1 weirdness |
| To | Python <python-list@python.org> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6.1442610862.21674.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1442610862 news.xs4all.nl 23861 [2001:888:2000:d::a6]:37223 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:96836 |
Show key headers only | View raw
On Fri, Sep 18, 2015 at 1:12 PM, Random832 <random832@fastmail.com> wrote: > On Fri, Sep 18, 2015, at 14:24, Terry Reedy wrote: >> The semantics Python copies from math is "a op b op c == a op b and b op >> c", > > I don't believe those *are* the semantics in math. I believe that in > math this notation is *specifically* meant to support "all of these > things are related to all of the others in ways that can be summarized > in a single expression" and that mixing operations in a way that does > not allow that is a misuse of the notation. In other words, any "a op b > op c" that does not allow you to make a statement on how a is related to > c is a *mistake*, because it means that you're welding together two > things that aren't logically connected to each other at all. > > If there is no operator op3 where a op1 b op2 c implies a op3 c, then > you should not put a and c in the same inequality, full stop. Whoever wrote the Wikipedia article disagrees: https://en.wikipedia.org/wiki/Inequality_(mathematics)#Chained_notation Although the reference to Python leads one to suspect that this could be based more on Python's semantics than on actual mathematics.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: True == 1 weirdness Random832 <random832@fastmail.com> - 2015-09-18 08:47 -0400
Re: True == 1 weirdness Steven D'Aprano <steve@pearwood.info> - 2015-09-18 23:14 +1000
Re: True == 1 weirdness Random832 <random832@fastmail.com> - 2015-09-18 09:40 -0400
Re: True == 1 weirdness Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-09-19 19:19 +1200
Re: True == 1 weirdness Terry Reedy <tjreedy@udel.edu> - 2015-09-18 14:24 -0400
Re: True == 1 weirdness Random832 <random832@fastmail.com> - 2015-09-18 15:12 -0400
Re: True == 1 weirdness Jussi Piitulainen <harvesting@makes.email.invalid> - 2015-09-19 09:23 +0300
Re: True == 1 weirdness Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-18 15:13 -0600
Re: True == 1 weirdness Random832 <random832@fastmail.com> - 2015-09-18 17:21 -0400
csiph-web