[Python-ideas] Preserving **kwargs order

random832 at fastmail.us random832 at fastmail.us
Fri Apr 4 19:15:14 CEST 2014


On Fri, Apr 4, 2014, at 12:04, David Mertz wrote:
> I confess that after reading this thread, and a number of related past
> ones, I'm still not certain exactly what problem all of this is needed to
> solve.  ISTM that if one has a special function calling requirement to
> pass
> in an ordered collection of key/value pairs, one can already just use a
> special and available call signature for your function:

People want to be able to pass them in order __with the a=1, b=2
syntax__. Because the syntax you're proposing looks like grit on my
monitor.

The most commonly cited desired use case is for the OrderedDict
constructor itself.


More information about the Python-ideas mailing list