News for hackers. Stuff that matters.
Re:PyPy v7.2 Released by ktpsns on Saturday October 19, 2019 @01:55PM (#21299748)
Isn't it explicitly discouraged to rely on dict() being ordered? IIRC the Python standard (if it exists) has collections.OrderedDict() in mind to fulfill ordering. I think when CPython introduced ordering, they warned about that. [No references included, happy if somebody provides some]
Re:PyPy v7.2 Released by zxter on Saturday October 19, 2019 @04:14PM (#21300526)
Yes it was discouraged previously. It became an implementation detail in 3.6 but is wasn't guaranteed. But now it is guaranteed in version 3.7:

> Changed in version 3.7: Dictionary order is guaranteed to be insertion order. This behavior was an implementation detail of CPython from 3.6. [0]

[0] https://docs.python.org/3.7/library/stdtypes.html#typesmappi...