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

Eric Snow ericsnowcurrently at gmail.com
Sun Apr 6 21:06:29 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140406/d8b9ebdd/attachment.html>


More information about the Python-ideas mailing list