[Python-3000-checkins] r67497 - python/branches/py3k/Doc/whatsnew/3.0.rst

guido.van.rossum python-3000-checkins at python.org
Wed Dec 3 16:24:50 CET 2008


Author: guido.van.rossum
Date: Wed Dec  3 16:24:50 2008
New Revision: 67497

Log:
Remove remark about NaN==NaN, I misunderstood that issue.


Modified:
   python/branches/py3k/Doc/whatsnew/3.0.rst

Modified: python/branches/py3k/Doc/whatsnew/3.0.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.0.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/3.0.rst	Wed Dec  3 16:24:50 2008
@@ -182,8 +182,7 @@
   no longer makes sense -- all the elements must be comparable to each
   other.  Note that this does not apply to the ``==`` and ``!=``
   operators: objects of different incomparable types always compare
-  unequal to each other, and an object always compares equal to itself
-  (i.e., ``x is y`` implies ``x == y``; this is true even for *NaN*).
+  unequal to each other.
 
 * :meth:`builtin.sorted` and :meth:`list.sort` no longer accept the
   *cmp* argument providing a comparison function.  Use the *key*


More information about the Python-3000-checkins mailing list