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 tim.peters
Recipients berker.peksag, martin.panter, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2016-10-21.01:50:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477014622.77.0.30995255318.issue26163@psf.upfronthosting.co.za>
In-reply-to
Content
I think Raymond will have to chime in.  I assume this is due to the `letter_range` portion of the test suffering hash randomization dealing it a bad hand - but the underlying string hash is "supposed to be" strong regardless of seed.  The

    self.assertGreater(4*u, t)
AssertionError: 124 not greater than 128

failure says 128 distinct sets hashed to only u = 124/4 = 31 distinct values across their hashes' last 7 bits, and that's worth complaining about.  It's way too many collisions.

It _may_ be a flaw in the set hash, or in the string hash, or just plain bad luck, but there's really no way to know which without digging into details.
History
Date User Action Args
2016-10-21 01:50:22tim.peterssetrecipients: + tim.peters, rhettinger, vstinner, berker.peksag, martin.panter, serhiy.storchaka
2016-10-21 01:50:22tim.peterssetmessageid: <1477014622.77.0.30995255318.issue26163@psf.upfronthosting.co.za>
2016-10-21 01:50:22tim.peterslinkissue26163 messages
2016-10-21 01:50:21tim.peterscreate