[Python-ideas] Ordered storage of keyword arguments
Carl M. Johnson
cmjohnson.mailinglist at gmail.com
Fri Oct 29 08:32:37 CEST 2010
On Thu, Oct 28, 2010 at 8:28 PM, Stephen J. Turnbull <stephen at xemacs.org> wrote:
> If you think of odict as an (efficient) associative list (order is
> primary function, random access via keys secondary), rather than an
> ordered mapping (random access via keys is primary function, order
> secondary) then the syntaxes
>
> ['a' : 1, 'b' : 2, 'c' : 3] # create an odict
>
> (surely that has been suggested before!) and
Yup:
http://mail.python.org/pipermail/python-ideas/2009-June/004924.html
GvR says "-100" :-O
Archivally-yrs,
-- Carl
More information about the Python-ideas
mailing list