Le Thu, 28 Feb 2013 09:30:50 -0600,
Don Spaulding <email@example.com>
a écrit :
>This is already possible with the __prepare__ magic method.
> For an example of the "recommended" way to get the ordering of your
> class attributes:
> It seems to me that the "right thing" for python to do when given anOr, rather, what is the benefit of doing things "the right way"? There
> ordered list of key=value pairs in a function call or class
> definition, is to retain the order. So what's an acceptable level of
> performance regression for the sake of doing things the "right way"
are incredibly few cases for relying on the order of key=value pairs in