Prothon, metaclasses, Zope [Was: A 'Python like' language]
Michele Simionato
michele.simionato at poste.it
Sun Mar 28 05:58:48 EST 2004
Joe Mason <joe at notcharles.ca> wrote in message news:<slrnc6crti.dit.joe at gate.notcharles.ca>...
>
> You could just put the function call in your base class's __init__
> method. (Or, in fact, put the code from that call directly there, if
> you only care when you inherit from the one Zope class.)
Uh? The base class __init__ method is not called when I derive a new
class. I want to make the make the check at class level, *before*
instantiating.
Michele Simionato
More information about the Python-list
mailing list