21 May
2002
21 May
'02
2:05 p.m.
Gilles Lenfant wrote:
I made a quick hack tour in the Zope products installed in my serer and I didn't notice any product trying to call the constructor of its base class from its own constructor.
Has someone a hint. Please, I'm falling into a nervous breakdown...
Well most of us has been there at one time or another ... :-) What you are banging against is the exetensionclass that makes funny stuff with Python. As far as I remember you should: class myObject(ObjectManager) def __init__(self, id): "Inits the object" myObject.inheritedAttribute('__init__')(self, id) Anyhoo you can google on "inheritedAttribute" and stuff should show up. regards Max M