Per python specification, dictionaries are ordered since 3.7. This is discussed here, for example: https://stackoverflow.com/a/39980744/1576254
My question is: I still see OrderedDict in library implementations, and checking on the content of collections.OrderedDict
in Python3.8 I see that it's not aliased to the built-in dict.
Does the collections.OrderedDict have any advantages to built-in dict? does it have any differences at all that can be seen by a user? (it's clear it's a different class, which is checkable at runtime, meaning there is at least this difference)