2012/1/6 Barry Warsaw <ba...@python.org>: >>Settings for PYRANDOMHASH: >> >> PYRANDOMHASH=1 >> enable randomized hashing function >> >> PYRANDOMHASH=/path/to/seed >> enable randomized hashing function and read seed from 'seed' >> >> PYRANDOMHASH=0 >> disable randomed hashing function > > Why not PYTHONHASHSEED then?
See my patch attached to the issue #13703? I prepared the code to be able to set easily the hash seed (it has a LCG, it's seed can be provided by the user directly). I agree that the value 0 should give the same behaviour than the actual hash (disable the randomized hash). I will add the variable in the next version of my patch. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com