[Python-Dev] Hash collision security issue (now public)

Antoine Pitrou solipsis at pitrou.net
Thu Dec 29 12:42:18 CET 2011

On Thu, 29 Dec 2011 11:25:03 +0000
Mark Shannon <mark at hotpy.org> wrote:
> > 
> > Also, randomizing the hash wreaks havoc on doctests, book examples
> > not matching actual dict reprs, and on efforts by users to optimize
> > the insertion order into dicts with frequent lookups.
> The docs clearly state that the ordering of iteration over dicts is 
> arbitrary. Perhaps changing it once in a while might be a good thing :)

We already change it once in a while.



More information about the Python-Dev mailing list