News for hackers. Stuff that matters.
Re:Lesser known parts of Python standard library – Trickster... by judicious on Thursday September 05, 2024 @12:10AM (#41453390)
There in lies another reason why OrderedDicts are still useful even in 3.12
Re:Lesser known parts of Python standard library – Trickster... by rbanffy on Thursday September 05, 2024 @01:19PM (#41458649)
Not really. It was pointed out that since 3.7 the order preserving behaviour is part of the spec for dicts.
Re:Lesser known parts of Python standard library – Trickster... by judicious on Thursday September 05, 2024 @02:24PM (#41459200)
I guess for most purposes, OrderedDicts are then obsolete, but I believe there are some extra convenience methods that they have, but I've only really needed to preserve order.

Makes you think what other parts of Python have become obsolete.