An ordered dictionary for the Python library?
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Wed Sep 12 08:42:58 EDT 2007
More information about the Python-list mailing list
Wed Sep 12 08:42:58 EDT 2007
- Previous message (by thread): An ordered dictionary for the Python library?
- Next message (by thread): An ordered dictionary for the Python library?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 12 Sep 2007 07:33:45 +0000, Mark Summerfield wrote: > I feel that Python lacks one useful data structure: an ordered > dictionary. > > I find such data structures v. useful in C++. [snip] Personally, I've never missed an ordered dict. What do people use them for? 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? -- Steven.
- Previous message (by thread): An ordered dictionary for the Python library?
- Next message (by thread): An ordered dictionary for the Python library?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list