[Python-ideas] Ordered storage of keyword arguments (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Oct 29 10:08:44 CEST 2010


Carl M. Johnson wrote:

On Thu, Oct 28, 2010 at 8:28 PM, Stephen J. Turnbull <stephen at xemacs.org> wrote:

['a' : 1, 'b' : 2, 'c' : 3] # create an odict

(surely that has been suggested before!) and

GvR says "-100" :-O

That's a pity, because the next obvious step, for those who don't want to give up their keywords, would be

[a = 1, b = 2, c = 3]

:-)

-- Greg



More information about the Python-ideas mailing list