[Python-checkins] r64966 - python/trunk/Misc/NEWS

nick.coghlan python-checkins at python.org
Tue Jul 15 17:40:23 CEST 2008


Author: nick.coghlan
Date: Tue Jul 15 17:40:22 2008
New Revision: 64966
Log:
Add missing NEWS entry for r64962
Modified:
 python/trunk/Misc/NEWS
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Tue Jul 15 17:40:22 2008
@@ -10,6 +10,13 @@
 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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /