Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'quiet': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'exceptions,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'nans': 0.16; 'nans,': 0.16; 'so.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'exceptions': 0.31; 'fri,': 0.33; 'could': 0.34; 'subject: (': 0.35; 'definition': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'pm,': 0.38; 'mar': 0.68; '2015': 0.84; 'to:none': 0.92 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; bh=Xo88H7v/C5H5TX3DsiWun6KEkp9FcvvjK4nct2TIkqw=; b=VK1ofeT2wyeO1bvweTauovngEprWavMfISyYxSb8SAnt68BT0pGwMrgT8vigtHjI/k pJdDJevpMQ3t8aBn8ijad/wm5johb2fBhgqykwyUwpSfjvHoCrrSt6KurGutbzX3QhQD AFelLFc1QTdcDH4mUe+prLHdKixfpYE819jqyE1yAwBoQ+WJ2Ps39D6gck+eyk7xqcQf PfDMCAu1UzCJUSSdPisLrs5WU2Qx3ufLvPCKzI46udFakeYvWFiHWLzs6QlO8Ch/fkIg 3k5GI739A/0MY6XHGgyM8APd+Aogi3YvJi8uEhygc2nPO9vcOME+yPsFlJv+V/fRCYj7 RFbA== MIME-Version: 1.0 X-Received: by 10.50.111.136 with SMTP id ii8mr25320472igb.34.1425636066595; Fri, 06 Mar 2015 02:01:06 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Mar 2015 21:01:06 +1100 Subject: Re: Is nan in (nan,) correct? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 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: 1425636069 news.xs4all.nl 2903 [2001:888:2000:d::a6]:52632 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3256 X-Received-Body-CRC: 2396926177 Xref: csiph.com comp.lang.python:87006 On Fri, Mar 6, 2015 at 8:50 PM, Rustom Mody wrote: > In a language like python with decent exceptions we do not need nans. Not so. I could perhaps accept that we don't need signalling NaNs, as they can be replaced with exceptions, but quiet NaNs are by definition _not_ exceptions. ChrisA