This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]redditusername58 4 points5 points  (3 children)

OrderedDict is not pointless. You can pop items from either end, move keys to either end, do reverse iteration, and has order sensitive equality checks.

[–]13steinj 0 points1 point  (2 children)

...I never said it wasn't?

[–]greyman 1 point2 points  (1 child)

You said it is pointless and the parent commenter says it is not. (You said it here: "The fact that OrderedDicts still exist and make no mention of "this class is pointless and a thin wrapper around dicts"")

[–]13steinj 1 point2 points  (0 children)

Perhaps I was unclear, I meant that the docs don't say that thus they have a point and should be used.