Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] hash randomization in 3.3

"Martin v. Löwis"martin at v.loewis.de
Tue Feb 21 22:55:02 CET 2012


>> 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 valuesare completely arbitrary and can change at any pointwithout notice. The only strict requirement should bethat hashing must be consistent with equality; everythingelse should be an implementation detail.With that attitude, supporting explicit seeds is counter-productive.Regards,Martin


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp