On Sun, Apr 6, 2014 at 9:34 AM, Eric Snow <ericsnowcurrently@gmail.com> wrote:


On Apr 6, 2014 4:39 AM, "Nick Coghlan" <ncoghlan@gmail.com> wrote:
> There *is* a connection here: this needs to play nice with the ordered
> kwargs in order to handle the pass-through case correctly.
>
> The guarantee that the order of the supplied mapping (minus any
> entries that map to named parameters) will be preserved needs to be
> made explicit.

You're right.  It's already implied by OrderedDict.  However the point *should* be explicit.

Somehow the specification section in the PEP doesn't explicitly say it, but I presume that the type of kwargs will change from dict to OrderedDict? That seems simple enough, but the proof is in the pudding. How simple was it to implement? How did the speed compare? Until we have those answers we shouldn't accept this PEP.

--
--Guido van Rossum (python.org/~guido)