]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add missing NEWS entry for r64962
authorNick Coghlan <ncoghlan@gmail.com>
Tue, 15 Jul 2008 15:40:22 +0000 (15:40 +0000)
committerNick Coghlan <ncoghlan@gmail.com>
Tue, 15 Jul 2008 15:40:22 +0000 (15:40 +0000)
Misc/NEWS

index e29a9b079019782c8d051481483c129cc4697b2c..24f337eb14b594bcc1a538bbc4067b3ff4eb5603 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,13 @@ What's New in Python 2.6 beta 2?
 Core and Builtins
 -----------------
 
+- Issue #2235: __hash__ is once again inherited by default. To allow
+  collections.Hashable to remain meaningful in the presence of the
+  default hash implementation (object.__hash__), it is now possible
+  to explicit block inheritance of hash by setting __hash__=None at
+  the Python level, or tp_hash=PyObject_HashNotImplemented at the C
+  level.
+
 - Issue #3221: Issue a RuntimeWarning instead of raising SystemError if
   the parent module cannot be found while performing an absolute import.
   This means that an incorrectly defined __package__ attribute will