Author jdemeyer
Recipients eric.smith, jdemeyer, mark.dickinson, rhettinger, sir-sigurd, tim.peters
Date 2018-09-21.18:46:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537555574.71.0.956365154283.issue34751@psf.upfronthosting.co.za>
In-reply-to
Content
I should also make it clear that the collision hash((1,0,0)) == hash((1,-2,-2)) that I reported is due to the algorithm, it's not due to some bad luck that 2 numbers happen to be the same. There are also many more similar hash collisions for tuples (all involving negative numbers) due to the same underlying mathematical reason.

I still don't understand why you don't consider it a problem. It may be a tiny problem, not really affecting the correct functioning of CPython. But, if we can fix this tiny problem, why shouldn't we?
History
Date User Action Args
2018-09-21 18:46:14jdemeyersetrecipients: + jdemeyer, tim.peters, rhettinger, mark.dickinson, eric.smith, sir-sigurd
2018-09-21 18:46:14jdemeyersetmessageid: <1537555574.71.0.956365154283.issue34751@psf.upfronthosting.co.za>
2018-09-21 18:46:14jdemeyerlinkissue34751 messages
2018-09-21 18:46:14jdemeyercreate