[Python-Dev] Proposal: add odict to collections (original) (raw)
BJörn Lindqvist bjourne at gmail.com
Sun Jun 15 06:37:11 CEST 2008
- Previous message: [Python-Dev] Proposal: add odict to collections
- Next message: [Python-Dev] Proposal: add odict to collections
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Jun 14, 2008 at 11:39 PM, Armin Ronacher <armin.ronacher at active-4.com> wrote:
Some reasons why ordered dicts are a useful feature:
And for metaclasses or for LRU caches or for removing duplicates in a list while maintaining order. I think that the name ordereddict would be more readable though, and match the existing defaultdict class in the collections module.
-- mvh Björn
- Previous message: [Python-Dev] Proposal: add odict to collections
- Next message: [Python-Dev] Proposal: add odict to collections
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]