top | item 41453390

(no title)

judicious | 1 year ago

There in lies another reason why OrderedDicts are still useful even in 3.12

discuss

order

rbanffy|1 year ago

Not really. It was pointed out that since 3.7 the order preserving behaviour is part of the spec for dicts.

judicious|1 year ago

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.