SF bug #942952: Weakness in tuple hash

(Basic approach and test concept by Tim Peters.)

* Improved the hash to reduce collisions.
* Added the torture test to the test suite.
This commit is contained in:
Raymond Hettinger 2004-06-01 06:36:24 +00:00
parent 504239fb38
commit 41bd02256f
3 changed files with 25 additions and 2 deletions

View file

@ -12,6 +12,9 @@ What's New in Python 2.4 alpha 1?
Core and builtins
-----------------
- Improved the tuple hashing algorithm to give fewer collisions in
common cases. Fixes bug #942952.
- Implemented generator expressions (PEP 289). Coded by Jiwon Seo.
- Enabled the profiling of C extension functions (and builtins) - check