[Python-ideas] float('∞')=float('inf')
Masklinn
masklinn at masklinn.net
Fri Jul 12 23:52:53 CEST 2013
On 12 juil. 2013, at 21:46, Serhiy Storchaka <storchaka at gmail.com> wrote:
> 13.07.13 00:27, Joshua Landau написав(ла):
>> 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
>
> 0.5 === 5/10. Isn't it an expression?
In the context of making a difference between literal values and other expressions in python, yes 5/10 is an expression, no 0.5 is not one.
More information about the Python-ideas
mailing list