[Python-ideas] Proto-PEP: Preserving the order of **kwargs in a function.

Guido van Rossum guido at python.org
Mon Apr 7 01:14:11 CEST 2014


Also, I recommend you go ahead and commit it to the peps repo. Pick the
next available number (looks like 468). Be sure that "make pep-0468.html
pep-0000.html" doesn't emit any errors.


On Sun, Apr 6, 2014 at 12:06 PM, Eric Snow <ericsnowcurrently at gmail.com>wrote:

>
> On Apr 6, 2014 11:37 AM, "Guido van Rossum" <guido at python.org> wrote:
> > 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.
>
> It's just a minor detail. <wink>  You are correct, of course.  I'll fix
> the PEP.  I'll also post a performance comparison here once I have
> something in the next few days.
>
> -eric
>



-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140406/eb1ca86e/attachment.html>


More information about the Python-ideas mailing list