[Zope-dev] Beyond Acquisition
Toby Dickenson
tdickenson@geminidataloggers.com
Fri, 19 Apr 2002 16:37:24 +0100
On Fri, 19 Apr 2002 15:28:52 +0000 (UTC), jalon@dev.in.nuxeo.com ()
wrote:
>It seems there is no way to get the real 'b' attribute from a, i.e. the
>B instance set at the line "a.b =3D B()"
Thats exactly right. your __of__ method means that *any* time you try
to take a B object out of an A, you get a C object instead of a B.=20
try a.__dict__['b']
Toby Dickenson
tdickenson@geminidataloggers.com