NaN handling

Ivan Vinogradov vinogri at
Sat May 6 00:00:59 CEST 2006

> <snip>
> There are those of us that need NaNs in production code, so it
> would have to be something that could be configured.  I find
> that in my programs the places where I need to do something
> "exceptional" with a NaN are very limited.  The vast majority
> of the time, I need them to propagate quietly.

Our programming expectations may differ, but an option to catch NaNs as
an exception is a great idea.

Regards, Ivan.

More information about the Python-list mailing list