Message 151959 - Python tracker (original) (raw)
I'm attaching a revised version of the patch that should fix the above issue: hybrid-approach-dmalcolm-2012-01-25-002.patch
It looks like that approach will break any non-builtin type (in either C or Python) which can compare equal to bytes or str objects. If that's the case, then I think the likelihood of acceptance is close to zero.
Also, the level of complication is far higher than in any other of the proposed approaches so far (I mean those with patches), which isn't really a good thing.
So I'm rather -1 myself on this approach, and would much prefer to randomize hashes in all conditions.