[Python-Dev] Proposal: add odict to collections

BJörn Lindqvist bjourne at gmail.com
Sun Jun 15 06:37:11 CEST 2008


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


More information about the Python-Dev mailing list