Question on metaclasses
Steffen Glückselig
usenet at gungfu.de
Sun Apr 24 10:37:40 EDT 2005
Are wrap and get_directives somehow built-in? I couldn't find
references to them.
I've noticed, too, that using __new__ I can manipulate the dictionary
resulting in the behavior I intented.
I'd rather like to know: Why does it work in __new__ but not in
__init__?
And, stimulated by your response: Why is using __new__ superior to
__init__?
best regards
Steffen
More information about the Python-list
mailing list