Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'url:pipermail': 0.05; 'received:internal': 0.09; 'topic:': 0.09; 'bug': 0.12; 'behavior,': 0.16; 'discusses': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'nan': 0.16; 'nick': 0.16; 'python-dev,': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'compare': 0.26; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; "i'm": 0.30; 'url:python': 0.33; 'received:66': 0.35; 'subject: (': 0.35; 'subject:?': 0.36; 'url:org': 0.36; 'received:10': 0.37; 'to:addr :python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'from:no real name:2**0': 0.61; 'header:Message- Id:1': 0.63; 'mar': 0.68; 'url:python-dev': 0.84; 'serious': 0.97 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=mesmtp; bh=rJmY6gyAbgQKSf5hBkg0c9q7u3A=; b=MmM3 Mn0KTXk54cZRDUzndYiNiHNwef6CnddE+l78U8llOoJEccAcH20pMd/8gN2Tu7/B MbwUswg9LF2ufA3Byjv/4jPhFAJwCFxkNGiNcgPs7zeWTBxuk+kSdE4/ZsVto0sr u79TzN4JqPGJ30LBa+KYzOY4+hlueZk4rso8VkU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=rJmY6gyAbgQKSf5hBkg0c9q7 u3A=; b=BsyGh0fuN4tC6OFJDeHjoU7qS5/xulFDG9D3tZVoQyCTB7Ul/L1wu2Io J2Ro41yXIhRmM7kGppHlscRZrqnjQLN3PrbDzYVln3w1viT2h7c5MvLPOpRVPDXf x2V1kwo4hf/LZ/eveV3miy6h6IljoI8eAs25RvmwET/tmx9I6pM= X-Sasl-Enc: af2zstcKEg1l3HLmgp0/M5QMh8v2EDf5WD1QzT8SCqnT 1425616626 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-07699171 In-Reply-To: References: <54f90c53$0$12994$c3e8da3$5496439d@news.astraweb.com> <858ufazvff.fsf@benfinney.id.au> <54F91C70.6020303@stoneleaf.us> <85wq2uyffs.fsf@benfinney.id.au> Subject: Re: Is nan in (nan,) correct? Date: Thu, 05 Mar 2015 23:37:06 -0500 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: 1425616629 news.xs4all.nl 2846 [2001:888:2000:d::a6]:41866 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86984 On Thu, Mar 5, 2015, at 22:49, Chris Angelico wrote: > I'm not sure it's just an optimization. Compare this post from > python-dev, where Nick Coghlan discusses the same topic: > > https://mail.python.org/pipermail/python-dev/2014-July/135476.html If it is a bug for NaN to "infect" containers' behavior, we need to take a serious look at sort().