On Nov 7, 2017, at 12:35, Paul G <p...@ganssle.io> wrote: > > If dictionary order is *not* guaranteed in the spec and the dictionary order > isn't randomized (which I think everyone agrees is a bit messed up), it would > probably be useful if you could enable "random order mode" in CPython, so you > can stress-test that your code isn't making any assumptions about dictionary > ordering without having to use an implementation where order isn't > deterministic.
As has been suggested elsewhere, if we decide not to make that guarantee, then we should probably deliberately randomize iteration order. -Barry
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com