Can someone please tell me what is going on here?

[magnus@bombardier magnus]$ cat

from Acquisition import Implicit
from threading import Thread
import time

class A(Implicit, Thread):

        def run(self):
                print context.aq_self

class B(Implicit):

b = B()
b.a = A()

[magnus@bombardier magnus]$ python2
Traceback (most recent call last):
  File "", line 16, in ?
    b.a = A()
  File "/usr/lib/python2.1/", line 326, in __init__
    _Verbose.__init__(self, verbose)
TypeError: unbound method __init__() must be called with instance as first

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to