Why are there no ordered dictionaries?

bonono at gmail.com bonono at gmail.com
Wed Nov 23 05:17:29 CET 2005

Bengt Richter wrote:
> For me the implication of "sorted" is that there is a sorting algorithm
> that can be used to create an ordering from a prior state of order,
> whereas "ordered" could be the result of arbitrary permutation, e.g.,
> manual shuffling, etc. Of course either way, a result can be said
> to have a particular defined order, but "sorted" gets ordered
> by sorting, and "ordered" _may_ get its order by any means.
But Alex seems to think that based on another external table should be
classified as "sorted" whereas I would consider it as "manual
shuffling", thus "ordered".

I may be wrong it interpreting him though, which is why I want to

More information about the Python-list mailing list