[Zope] Error:unbound method __init__() must be calledwithinstanceas first argument

Dragos Chirila d.chirila at finsiel.ro
Fri Apr 9 09:45:45 EDT 2004


Hi

The idea is that using this form of calling the constructor no check is
performed for the first argument.

Here are 2 VERY usefull links to clarify this:

http://www.daa.com.au/pipermail/pygtk/2001-May/001180.html

http://mail.zope.org/pipermail/zope/2004-February/146824.html


Regards,
Dragos


> > Try like this:
> >
> > CA.__dict__['__init__'](self)
>
> Thanks. This cod work normally.
> But, tell me, please, why cod CA.__init__(self) dose not work properlly?
>
> Regard
> Serg
>
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>





More information about the Zope mailing list