Sorting NaNs

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Jun 2 19:37:16 EDT 2018


Peter J. Holzer wrote:
> If it was a deliberate decicion I would say it was intentional.

It was a deliberate decision not to define an ordering for NaNs,
but the particular behaviour of sorting them is accidental.

-- 
Greg



More information about the Python-list mailing list