Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.014 X-Spam-Evidence: '*H*': 0.97; '*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; 'rules': 0.22; 'header :User-Agent:1': 0.23; 'specify': 0.24; 'header:In-Reply-To:1': 0.27; "d'aprano": 0.31; 'enforce': 0.31; 'received:dk': 0.31; 'steven': 0.31; 'there': 0.35; 'charset:us-ascii': 0.36; '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; 'subject:For': 0.78; 'people"': 0.84 Date: Tue, 08 Jul 2014 21:02:09 +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> In-Reply-To: <53bc26ca$0$29995$c3e8da3$5496439d@news.astraweb.com> 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1404846131 news.xs4all.nl 2845 [2001:888:2000:d::a6]:50364 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74201 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. regards, Anders