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

Nathaniel Smith njs at pobox.com
Thu Apr 10 20:09:41 CEST 2014


On Thu, Apr 10, 2014 at 6:57 PM, Dima Tisnek <dimaqq at gmail.com> wrote:
> Sorry to be a spoil-sport, but what next?
>
> Preserve order of globals?
> Preserve order of locals?
> Preserve order of class members?

But these are all currently possible... PEP 3115 explicitly mentions
preserving order of class members as a motivation for __prepare__.

-n

-- 
Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
http://vorpus.org


More information about the Python-ideas mailing list