pyorbit1.99.4 and Python2.3 problem

Terry Reedy tjreedy at udel.edu
Fri Apr 11 08:43:07 EDT 2003


"Pavel Stehule" <stehule at kix.fsv.cvut.cz> wrote in message
news:slrnb9cuvj.49s.stehule at kix.fsv.cvut.cz...
> I tried pyorbit with new version  of Python and when I try run test
I get
> error:
> [root at stehule pyorbit-1.99.4]# cd tests/
> [root at stehule tests]# python everything_server.py
> TypeError: MRO conflict among bases Object, B1, BaseServer, B2
> TypeError: MRO conflict among bases Object, B1, BaseServer, B2
>
> ** (process:13354): WARNING **: could not generate stub for base
> IDL:orbit/test/C1:1.0

MRO stands for 'method resolution order'  2.3 has improved the
definition and calculation of mro.  I believe the error message says
that there is a conflict or ambiguity in one of your object
inheritance trees (that was apparently not caught before).  The What's
New file should say something about this and maybe give a pointer.

> Is working orbit with 2.3 Python?

I believe that changing the order of your base classes may solve the
problem.  I hope someone else knows more about debugging this.

Terry J Reedy







More information about the Python-list mailing list