Re: raising an exception when multiple inheritance involves same base

2008-05-24 Thread Arnaud Delobelle
Michael Hines <[EMAIL PROTECTED]> writes: > Hello, > I have a class factory that supports single inheritance but it is > an error if the base appears twice. e.g > class Foo(hclass(h.Vector), hclass(h.List)): > should raise an exception since h.Vector and h.List are really the same > extension clas

raising an exception when multiple inheritance involves same base

2008-05-24 Thread Michael Hines
Hello, I have a class factory that supports single inheritance but it is an error if the base appears twice. e.g class Foo(hclass(h.Vector), hclass(h.List)): should raise an exception since h.Vector and h.List are really the same extension class, HocObject. So far I have only been able to do this