[Python-Dev] Proposal: add odict to collections
Stephen J. Turnbull
stephen at xemacs.org
Mon Jun 16 20:45:19 CEST 2008
dbpokorny at gmail.com writes:
> It is possible to get both ordered dict and sorted dict semantics in
> the same type if you replace (key, value) pairs for dictionary entries
> with (key,value,order) triples.
Roundup uses something like this concept for its value choice menus.
I don't actually think it's used, though, except as a way to allow
admin user input that inserts an item at a position.
More information about the Python-Dev
mailing list