[Zope] Zope and Polymorphism

Steve Spicklemire steve@spvi.com
Fri, 11 Feb 2000 05:58:56 -0500 (EST)


Hi Jay, 

No problem! You've just got to use the second form... (or you could
always add the same property to all your classes that inherit from
that base class, so long as your not interested in 'raw' instances of
the base class as well.). But the second form, using the external
method supplied, should work in all cases, though it will be somewhat
slower, since searching through the class hierarchy is more time
consuming that checking a single instance variable.

-steve

>>>>> "Jay," == Jay, Dylan <djay@lucent.com> writes:

    Jay,> yes but what if you don't own the base class?