python 2.3.4 for windows: float("NaN") throws exception
asmirnov1234567890 at yahoo.com
asmirnov1234567890 at yahoo.com
Thu Jan 13 10:10:33 EST 2005
Hi
my python 2.3.4 for windows refuse to execute line float("NaN"). It
says:
>>> float("NaN")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ValueError: invalid literal for float(): NaN
The same line works as expected on Linux and Solaris with python 2.3.4.
Could anybody explain what is possibly wrong here? is it bug or
feature?
Andrei
More information about the Python-list
mailing list