News for hackers. Stuff that matters.
Re:Python dicts are now ordered by masklinn on Friday February 07, 2020 @02:05PM (#22269510)
> Was this not the case?

From the origin to Python 3.2, iteration order was arbitrary but deterministic (in CPython, it was not guaranteed to be determinstic in other implementations)

From Python 3.3 to Python 3.5, iteration order was non-determinstic (across runs, it was deterministic per-process instance)

In Python 3.6 it's unspecified but deterministic and follows insertion order (in CPython)

In Python 3.7, Python 3.6's behaviour was specified and documented

There are no comments on this comment yet.