This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Dmitry Rubanovich, methane, rhettinger, serhiy.storchaka, tim.peters, xiang.zhang
Date 2017-06-17.04:35:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497674122.59.0.0299793260122.issue30671@psf.upfronthosting.co.za>
In-reply-to
Content
I totally concur with Tim.

Your script test all hash codes in range(1<<p), without duplications, but in real world low bits of the hashes often are equal (see the Birthdays problem). The perturbation allows high bits to play.
History
Date User Action Args
2017-06-17 04:35:22serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, methane, xiang.zhang, Dmitry Rubanovich
2017-06-17 04:35:22serhiy.storchakasetmessageid: <1497674122.59.0.0299793260122.issue30671@psf.upfronthosting.co.za>
2017-06-17 04:35:22serhiy.storchakalinkissue30671 messages
2017-06-17 04:35:22serhiy.storchakacreate