[Zope] Getting inherited classes

Chris Withers chrisw@nipltd.com
Thu, 09 Jan 2003 18:21:08 +0000


Michele Ruberl wrote:
> Hi all,
> a quick question: how could I (in a python script) get a list of all 
> inherited classes from an object's meta_type? My aim's is to get the 
> first object implementing ObjectManager while going up in the PARENTS 
> hierarchy,

Why parents?

ObjectManager isn't a discernable interface, what do you mean by objetc manager?

What is the problem you're trying to solve with this algorithm?

cheers,

Chris