[Python-Dev] hash randomization in 3.3 (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Tue Feb 21 22:55:02 CET 2012
- Previous message: [Python-Dev] hash randomization in 3.3
- Next message: [Python-Dev] hash randomization in 3.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Should you be able to disable it? No, but you should be able to provide a seed.
Why exactly is that?
We should take an attitude that Python hash values are completely arbitrary and can change at any point without notice. The only strict requirement should be that hashing must be consistent with equality; everything else should be an implementation detail.
With that attitude, supporting explicit seeds is counter-productive.
Regards, Martin
- Previous message: [Python-Dev] hash randomization in 3.3
- Next message: [Python-Dev] hash randomization in 3.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]