python 2.3.4 for windows: float("NaN") throws exception

John Roth newsgroups at jhrothjr.com
Thu Jan 13 14:42:39 EST 2005


<asmirnov1234567890 at yahoo.com> wrote in message 
news:1105629033.442397.124820 at c13g2000cwb.googlegroups.com...
> 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

As others have gently tiptoed around, it's basically
the lack of a group of enthusiastic and dedicated
volunteers to make it happen.

Nobody is really happy with the current situation,
but Python is a volunteer effort, and the current
set of volunteers isn't really motivated to put in
a very large amount of work on something that
they think would have relatively little benefit.

In other words, if someone wants to dig in and
do the work, I'm sure the core developers will
look at it favorably - as long as it meets the
usual standards for core development, including
documentation and maintainability.

The bar is lower than it has ever been, by the
way. It used to be: It has to work the same way
on all supported platforms. Now it's just: it has
to work the same on the core platforms, and
if anyone else really wants to work on the others,
more power to them.

John Roth


> 




More information about the Python-list mailing list