Because infinity is special case of numbers. Unicode standard have regular infinity symbol and it's natural to represent inifinity as .

пятница, 12 июля 2013 г., 17:12:09 UTC+4 пользователь Serhiy Storchaka написал:
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?


_______________________________________________
Python-ideas mailing list
Python...@python.org
http://mail.python.org/mailman/listinfo/python-ideas