Class definition attribute order

Michele Simionato michele.simionato at
Tue Aug 5 05:05:58 CEST 2008

On Aug 5, 4:38 am, "Gabriel Genellina":
> So the namespace that the metaclass receives when the class is created,  
> will be some kind of ordered dictionary?
> Metaclasses are available for a long time ago, but the definition order is  
> lost right at the start, when the class body is executed. Will this step  
> be improved in Python 3.0 then?

Yep. See
(I am working on an English translation these days,
but for the moment you can use Google Translator).

 M. Simionato

More information about the Python-list mailing list