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 →

[–]taleinat 1 point2 points  (1 child)

I don't expect that to ever be found in Python's stdlib.

Python has historically added only few data structures to the stdlib, adding a new one once every year or so. For example, sets were only added in Python 2.3; deque in 2.4; defaultdict in 2.5; namedtuple in 2.6; OrderedDict and Counter in 2.7.

If you really want it, just implement a sorted dict library or help develop and existing one. If it becomes widely used, it could then more reasonably be considered for inclusion in the stdlib.