I meant to ask, why is
nan
not comparable? Even:
>>> math.nan == math.nan
False