[Python-Dev] Why is nan != nan? (original) (raw)

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Mar 25 00:11:09 CET 2010


On Wed, Mar 24, 2010 at 7:02 PM, Mark Dickinson <dickinsm at gmail.com> wrote: ..

So if I understand correctly, you propose that float('nan') == float('nan') return True.  Would you also suggest extending this behaviour to Decimal nans?

yes



More information about the Python-Dev mailing list