TypeError: Cannot create a consistent method resolution order (MRO)for bases object

Terry Reedy tjreedy at udel.edu
Mon Jun 26 15:40:23 EDT 2006


<digitalorganics at gmail.com> wrote in message 
news:1151345197.691600.200060 at y41g2000cwy.googlegroups.com...
> 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






More information about the Python-list mailing list