суббота, 13 июля 2013 г., 10:32:59 UTC+4 пользователь Vernon D. Cole написал:
This proposal is for only one thing -- to make the following happen:
>>> inf = '\u221e'
>>> float(inf)
inf
>>>

Exactly. But to be more complete:

>> float(u''), 
inf
>> float(u'-')
-inf

One could go further and make a string '∞' literal in python to refer to infinity. 
But this can only speak if this proposal makes sense.