Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
judicious
· 2y ago · 0 comments
There in lies another reason why OrderedDicts are still useful even in 3.12
Comments
[–]
rbanffy
2y ago
Not really. It was pointed out that since 3.7 the order preserving behaviour is part of the spec for dicts.
[–]
judicious
OP
2y 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.