[Zope] inheritance in python product
Stefan H. Holek
stefan@epy.co.at
Fri, 07 Jun 2002 11:12:37 +0200
You may need to trick the machinery with code like
BaseClass.__dict__['__init__'](self, arg1, arg2, ...)
Stefan
--On Freitag, 07. Juni 2002 09:29 +0200 Sylvain Th=E9nault=20
<thenault@nerim.net> wrote:
> On Thursday 06 June =E0 11:59, Chris McDonough wrote:
>> Hi Sylvain,
>>
>> See the description of "inheritedAttribute" in this document:
>>
>> http://debian.acm.ndsu.nodak.edu/doc/python-extclass/ExtensionClass.html
>>
>
> ok, I see my problem now. However, this document says it can be resolved
> with the inheritedAttribute class method but without talking about
> multiple inheritance. In my case, i have to call __init__ on different
> super classes, and inheritedAttribute does not provide a way to tell him
> on which super class __init__ should be call.
> Any idea ?
>
--
BLOWFISH, n. - Preference for beef.