Oh, I forgot the line that bombed, sorry:
line 52, in __main__
Bat.__bases__ += (Dog,)
TypeError: Cannot create a consistent method resolution
order (MRO) for bases object, Mixin, Dog
See my other post for the complete code and my relevant note about
new-style classes, thanks...
Terry Reedy wrote:
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > What are the reason one would get this error: TypeError: Cannot create
> > a consistent method resolution order (MRO) for bases object ??
>
> Because the interpreter cannot ;-)
>
> > I can provide the code if needed....
>
> Details beget details ;-)
> Yes, the class statement (header line up to ':') that bombed and the same
> (first line) for classes it inherits from (and their base classes). The
> conflict should be in the latter.
>
> tjr
--
http://mail.python.org/mailman/listinfo/python-list