An ordered dictionary for the Python library?
steve at REMOVE-THIS-cybersource.com.au
Wed Sep 12 14:42:58 CEST 2007
On Wed, 12 Sep 2007 07:33:45 +0000, Mark Summerfield wrote:
> I feel that Python lacks one useful data structure: an ordered
> I find such data structures v. useful in C++.
Personally, I've never missed an ordered dict. What do people use them
In fact, I'm not sure what people mean by ordered dicts. I assume they
mean the keys are ordered, not the values. But ordered by what? Insertion
order? Modification order? Alphabetical order?
More information about the Python-list