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

Joshua Landau joshua at landau.ws
Fri Jul 12 23:47:49 CEST 2013


On 12 July 2013 22:41, Ethan Furman <ethan at stoneleaf.us> wrote:

> On 07/12/2013 02:27 PM, Joshua Landau wrote:
>
>  On 12 July 2013 18:58, Serhiy Storchaka <storchaka at gmail.com <mailto:
>> storchaka at gmail.com>> wrote:
>>
>>  I agree. But how is it related to ½ and 3.(142857)?
>>>
>>
>> ½ === 1/2; thus is an expression
>>
>
> That's ridiculous.  ½ is no more an expression than "0.5" is.
>

When you are talking in context of float(...), I have to disagree.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130712/7ba2700a/attachment.html>


More information about the Python-ideas mailing list