[Python-Dev] Counting collisions for the win

Paul McMillan paul at mcmillan.ws
Sun Jan 22 05:09:10 CET 2012

On Sat, Jan 21, 2012 at 4:19 PM, Jared Grubb <jared.grubb at gmail.com> wrote:
> I agree; it sounds really odd to throw an exception since nothing is actually wrong and there's nothing the caller would do about it to recover anyway. Rather than throwing an exception, maybe you just reseed the random value for the hash

This is nonsense. You have to determine the random seed at startup,
and it has to be uniform for the entire life of the process. You can't
change it after Python has started.


More information about the Python-Dev mailing list