[Python-Dev] hash randomization in 3.3

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


Am 21.02.2012 20:59, schrieb Antoine Pitrou:
> On Tue, 21 Feb 2012 14:58:41 -0500
> Benjamin Peterson <benjamin at python.org> wrote:
>> 2012/2/21 Antoine Pitrou <solipsis at pitrou.net>:
>>>
>>> Hello,
>>>
>>> Shouldn't it be enabled by default in 3.3?
>>
>> Should you be able to disable it?
> 
> PYTHONHASHSEED=0 should disable it.  Do we also need a command-line
> option?

On the contrary. PYTHONHASHSEED should go in 3.3, as should any
facility to disable or otherwise fix the seed.

Regards,
martin


More information about the Python-Dev mailing list