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

Serhiy Storchaka storchaka at gmail.com
Fri Jul 12 15:12:09 CEST 2013


12.07.13 15:36, Zaur Shibzukhov написав(ла):
> Is it good idea to allow
> float('∞') to be float('inf') in python?

float('½') == 0.5?
float('3.(142857)') == 22/7?
int('Ⅶ') == 7?
int('✌') == 2?




More information about the Python-ideas mailing list