10 Dec
2002
10 Dec
'02
7:08 p.m.
Johan Carlsson [EasyPublisher] writes:
.... But I have tried another thing: Creating an instance (a) of the class C: pass, I can set the a.__class__=A (where A is another class), a will report that it is a instance of A and it will have all of A's class context. "ExtensionClass" instances do not allow you to write to the "__class__" attribute. I think, they just ignore it.
Dieter