On Fri, 19 Apr 2002 15:28:52 +0000 (UTC), [EMAIL PROTECTED] () 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 = 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. try a.__dict__['b'] Toby Dickenson [EMAIL PROTECTED] _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )