Class definition attribute order
Michele Simionato
michele.simionato at gmail.com
Mon Aug 4 23:05:58 EDT 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 http://stacktrace.it/articoli/2008/01/metaclassi-python-3000
(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