14 Jan
2002
14 Jan
'02
6:31 p.m.
On Mon, 2002-01-14 at 18:18, Lennart Regebro wrote:
Sometimes when I inherit from multiple classes, I can do thusly:
class C( A, B):
def __init__(self, foo): A.__init__(self, foo) B.__init__(self)
But sometimes this doesn't work, but python complains and sais that unbound methods must be called with class instance 1st argument, although that is exactly what I do.
I can't offer any help, but I can confirm I get this too. I only ever get it in combination with the Refresh product, e.g. - Make a change to a product - Refresh it - Try to view an instance - Get unbound method 1st argument blah message - Restart Zope - Everything works seb