On Thu, 29 Dec 2011 11:25:03 +0000 Mark Shannon email@example.com 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. http://twistedmatrix.com/trac/ticket/5352 ;)