float("nan") in set or as key

Ethan Furman ethan at stoneleaf.us
Sat Jun 4 02:04:38 EDT 2011


Steven D'Aprano wrote:
> NANs are not necessarily errors, they're hardly silent, and if you don't 
> want NANs, the standard mandates that there be a way to turn them off.

So how does one turn them off in standard Python?

~Ethan~



More information about the Python-list mailing list