Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50528

Re: [Python-ideas] float('∞')=float('inf')

Path csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.04; 'charset:iso-8859-7': 0.04; 'subject:Python': 0.06; 'error:': 0.07; 'float': 0.07; 'string': 0.09; 'imho.': 0.09; "subject:')": 0.09; 'python': 0.11; "wouldn't": 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:ideas': 0.16; 'tried:': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'subject:] ': 0.20; 'recognize': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; "doesn't": 0.30; 'see,': 0.30; 'message- id:@mail.gmail.com': 0.30; '13,': 0.31; 'figure': 0.32; 'guess': 0.33; 'could': 0.34; "can't": 0.35; 'convert': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'doing': 0.36; 'should': 0.36; 'so,': 0.37; 'too': 0.37; 'represent': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; "you're": 0.61; 'subjectcharset:utf-8': 0.72; 'jul': 0.74; 'for!': 0.84; 'greek': 0.84; 'learn.': 0.84; 'insane': 0.93; 'this!': 0.93; '2013': 0.98
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:to :content-type:content-transfer-encoding; bh=4q4k617qx01kWe1IOmQmi3scRohccB59OtyWeoeiEls=; b=Nya3X7U5r5/6w0HlpmPTdUY7OFdt13Ef7gwI7w/sT7ahGumL0TsbpP3Gp4xvUvveDg Ao4WANAM6OdDl3tdaeqNUPwyLm7j51+qOdoJxnMQ9woie3vpPyuUfDRHOnG7KahS3Okp c7VGW7JKdz1V2RUWPufGNYOzsYayd7uEimXtttd+ZvGEiEx1dKT4KoxjtRSaTEninl+d laUdBoew6swAEEL2piCRM8OYopITmZ4rn4865CmdxwvrfelW/4ZQCc4azrtL8QPcMQ/g JU8CBn2bxsS6B7MV5OebZlh6WUg0JKGv5looQ+p6x4mI14A8/eB7cK8bFc5CljaA8wMj fqwA==
MIME-Version 1.0
X-Received by 10.220.128.72 with SMTP id j8mr24594165vcs.3.1373640802046; Fri, 12 Jul 2013 07:53:22 -0700 (PDT)
In-Reply-To <CAPTjJmrg+hYLaLzfniAWa=BFRfRVU3=sSaH8=6xMBV==4rdB+A@mail.gmail.com>
References <CAPxRSnZBP1Dr91xw5GwtYX2+BKnNONi2AJ8vwp7sf4wp3W1m8Q@mail.gmail.com> <CAE_Hg6ZFq5Qf_7NFbcJWhTvPuDohAvn1uyNgOyVh+iBzKrHEWA@mail.gmail.com> <CAN1F8qWp9GPq8dx7uOOOFRn1rg3A+X+Z+V+kAQ3EOpchNnye1A@mail.gmail.com> <CAPxRSnbBp2zbLQfL+MB3y9mWnmZqis_sWe9=n-SoFXknfwtUtQ@mail.gmail.com> <CAPTjJmrg+hYLaLzfniAWa=BFRfRVU3=sSaH8=6xMBV==4rdB+A@mail.gmail.com>
Date Sat, 13 Jul 2013 00:53:21 +1000
Subject Re: [Python-ideas] float('∞')=float('inf')
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-7
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4635.1373640804.3114.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373640804 news.xs4all.nl 15956 [2001:888:2000:d::a6]:42305
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50528

Show key headers only | View raw


On Sat, Jul 13, 2013 at 12:52 AM, Chris Angelico <rosuav@gmail.com> wrote:
> On Sat, Jul 13, 2013 at 12:43 AM, Gerald Britton
> <gerald.britton@gmail.com> wrote:
>> Man I don't know how you are doing this!  I just tried:
>>
>> float('<greek letter pi>') and got
>>
>> Value error: could not convert string to float '<greek letter pi>'
>>
>> For that matter, I can't figure out how to type the greek letter for
>> pi in gmail!  Guess I have some things to learn.
>>
>> So, if Python doesn't recognize the symbol for pi, why should it
>> recognize the one for infinity?
>
> Considering that Python can't represent π in a float anyway, I
> wouldn't be too bothered. And what else? float('τ') for twice that
> value? Not really necessary imho.
>
> ChrisA

Take no notice of me going insane over here. Nothing to see, move
along, these are not the neurons you're looking for!

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: [Python-ideas] float('∞')=float('inf') Chris Angelico <rosuav@gmail.com> - 2013-07-13 00:53 +1000

csiph-web