News for hackers. Stuff that matters.
Re:Python dicts are now ordered by masklinn on Friday February 07, 2020 @11:52AM (#22267901)
That also goes both way: Pypy defaulted to ordered dicts a few years before cpython did.
Re:Python dicts are now ordered by maxnoe on Friday February 07, 2020 @12:52PM (#22268668)
The insertion order dict implementation actually comes from pypy
Re:Python dicts are now ordered by masklinn on Friday February 07, 2020 @01:43PM (#22269196)
The insertion order dict implementation comes from Raymond Hettinger who is amongst other things a core CPython developer. pypy pulled the trigger on using it first (and probably has optimisations CPython doesn't). PHP also used it before CPython did, IIRC. And possibly Rust (as the third-party indexmap).