Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'string.': 0.05; 'json': 0.07; 'string': 0.09; 'converted': 0.09; 'parsed': 0.09; 'cc:addr :python-list': 0.11; 'delimit': 0.16; 'gpg': 0.16; 'nan': 0.16; 'sense,': 0.16; 'wayne': 0.16; 'wrote:': 0.18; 'value.': 0.19; 'proposed': 0.22; 'cc:addr:python.org': 0.22; 'string,': 0.24; 'unicode': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; 'especially': 0.30; 'message-id:@mail.gmail.com': 0.30; 'asked': 0.31; 'object.': 0.31; 'proposing': 0.31; 'text': 0.33; 'fri,': 0.33; 'skip:? 10': 0.33; 'received:google.com': 0.35; 'url:org': 0.36; 'pm,': 0.38; 'most': 0.60; 'from:charset:utf-8': 0.61; 'back': 0.62; '21st': 0.68; 'ps.': 0.84; 'edwards': 0.91; 'to:none': 0.92; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:cc:content-type; bh=oIHdTGnnnxa6H2BAeRxJmFLXAANXPFqwgYIDSkXxPQs=; b=GkCmVGHpkAwMjrxKzMas0MYeqFy7sIK/toiIENiyp1Av8MtACHiuvYjJB6ZBQNPuak QiYf9rjfSb0lsMBrFhOZWEaanr5I6oP2Lphgq5KgCUwI+xQ1X3jJsKxt1v11l/Ot+Q9N VZXZz2TtIYCRPbaqzwk6aG5Ru3EbNbK48tgCtwzCRuyKnc+9z57tTFmAgFOEu0xBuHVc VaVPWcLvTF8sR3kXYfKPi50sk7mkSo8L4RQFfFJ+U5MKe8jHl2B2lCYfeZv+nlkKB84k z6hyOcd5TswykdpbJooEmrKPmaxJBkV9nzdJ4APRJLzePE+V+00d/aBf55+qTgxNTFhT k7eQ== X-Received: by 10.50.237.71 with SMTP id va7mr17385116igc.88.1366444843042; Sat, 20 Apr 2013 01:00:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= Date: Sat, 20 Apr 2013 10:00:22 +0200 Subject: Re: Encoding NaN in JSON Cc: python-list@python.org Content-Type: text/plain; charset=UTF-8 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366445217 news.xs4all.nl 2260 [2001:888:2000:d::a6]:58178 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43952 On Fri, Apr 19, 2013 at 9:42 PM, Grant Edwards wrote: > The OP asked for a string, and I thought you were proposing the string > 'null'. If one is to use a string, then 'NaN' makes the most sense, > since it can be converted back into a floating point NaN object. > > I infer that you were proposing a JSON null value and not the string > 'null'? Not me, Wayne Werner proposed to use the JSON null value. I parsed the backticks (`) used by him as a way to delimit it from text and not as a string. PS. > On 2013-04-19, Chris ???Kwpolska??? Warrick wrote: Is Unicode support so hard, especially in the 21st century? -- Kwpolska | GPG KEY: 5EAAEA16 stop html mail | always bottom-post http://asciiribbon.org | http://caliburn.nl/topposting.html