Author rhettinger
Recipients belopolsky, daniel.urban, docs@python, mark.dickinson, ncoghlan, rhettinger, terry.reedy, v+python
Date 2013-07-11.07:52:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think this should be closed.  AFAICT it is of interest to a very tiny subset of the human species and as near as I can tell that subset doesn't include people in the numeric and statistics community (the ones who actually use NaNs as placeholders for missing values).

So much code (and human reasoning) assumes that identity-implies-equality, that is would be easier to document the exception to expectation than to try to find every place in every module where the assumption is present (implicitly or explicitly).  Instead, it would be better to document that distinct float('NaN') objects are never equal to one another and that identical float('NaN') objects may or may not compare equal in various implementation dependent circumstances.
Date User Action Args
2013-07-11 07:52:21rhettingersetrecipients: + rhettinger, terry.reedy, mark.dickinson, ncoghlan, belopolsky, v+python, daniel.urban, docs@python
2013-07-11 07:52:21rhettingersetmessageid: <>
2013-07-11 07:52:21rhettingerlinkissue11945 messages
2013-07-11 07:52:21rhettingercreate