[Zope-dev] Acquisition in Python2.5

Nikhil N nikhil.n.n at gmail.com
Mon Jan 21 01:14:28 EST 2008


Hello all ,

I am stuck with an error in Acquisition while trying to make
Zope2 work in Python2.5. I reduced the errors obtained
to those as follows (its not exactly as in the code, but a
minimum set which shows the problem).

 from ExtensionClass import Base
 import Acquisition
 class B(Base):
    color='red'
 class A(Acquisition.Implicit):
    pass
 b=B()
 c = A()
 b.c = c
 print b.c == c

When the last print statement should return true (2.4) ,in
2.5 its returning false. Please give some hint on this.

Regards,
Nikhil


More information about the Zope-Dev mailing list