Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: <2014@jmunch.dk> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.023 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'python.': 0.02; 'referring': 0.07; 'anders': 0.09; 'oh,': 0.09; 'python': 0.11; 'nans': 0.16; 'so.': 0.16; 'wrote:': 0.18; 'meant': 0.20; 'rules': 0.22; 'header:User-Agent:1': 0.23; 'case.': 0.24; 'either.': 0.24; 'specify': 0.24; "i've": 0.25; 'least': 0.26; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; "d'aprano": 0.31; 'enforce': 0.31; 'received:dk': 0.31; 'steven': 0.31; 'case,': 0.35; 'there': 0.35; "didn't": 0.36; 'charset:us-ascii': 0.36; 'problems': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'header:Return-path:1': 0.60; "you've": 0.63; 'hear': 0.63; 'subject:For': 0.78; 'people"': 0.84; 'python-dev': 0.84; 'upside': 0.84 Date: Tue, 08 Jul 2014 21:25:44 +0200 From: "Anders J. Munch" <2014@jmunch.dk> Organization: . User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: NaN comparisons - Call For Anecdotes References: <53bc26ca$0$29995$c3e8da3$5496439d@news.astraweb.com> <53BC4031.20408@jmunch.dk> In-Reply-To: <53BC4031.20408@jmunch.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: 1404847547 news.xs4all.nl 2956 [2001:888:2000:d::a6]:36052 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74206 I wrote: > Steven D'Aprano wrote: >> Oh, you've read the IEEE-754 standard, and that's what it says? "We're going >> to specify this behaviour for NANs just to annoy people" perhaps? > I was referring to the deliberate choice to enforce IEEE-754 rules in Python. > There is no force of law that requires Python to do so. > And just to be clear, I didn't mean python-dev did this to annoy people either. I just meant that the choice made is not supported by any use case, so there's no upside to outweigh the problems it creates. At least I've yet to hear any use case. So far I'm 0 beers in debt. regards, Anders