summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-02-13 13:52:33 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-02-13 13:52:33 (GMT)
commit76a4b896c4b976d2d17df0aa7cf5c982986f8771 (patch)
tree743fa6fa5fc179f2d4cd15aed7dbef3ab7163f95 /Misc
parent2c079297706e4ef6a47a80d68f6e38fddddf1728 (diff)
downloadcpython-76a4b896c4b976d2d17df0aa7cf5c982986f8771.zip
cpython-76a4b896c4b976d2d17df0aa7cf5c982986f8771.tar.gz
cpython-76a4b896c4b976d2d17df0aa7cf5c982986f8771.tar.bz2
Issue #5186: Reduce hash collisions for objects with no __hash__ method by
rotating the object pointer by 4 bits to the right.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 70a15d7..b620a5a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.7 alpha 1
Core and Builtins
-----------------
+- Issue #5186: Reduce hash collisions for objects with no __hash__ method by
+ rotating the object pointer by 4 bits to the right.
+
- Issue #4575: Fix Py_IS_INFINITY macro to work correctly on x87 FPUs:
it now forces its argument to double before testing for infinity.