[omniORB] OmniORBpy and new style classes

Duncan Grisby dgrisby@uk.research.att.com
Wed, 13 Mar 2002 16:51:21 +0000


On Thursday 7 March, "Paul Webb" wrote:

> If, for example, I change line 10 in the example/echo/example_echo_srv.py so
> that the Echo_i class is also derived from 'object' (so that it becomes a
> new-style class):
> 
> 10 class Echo_i (Example__POA.Echo, object):
[...]
> omniORB.CORBA.BAD_PARAM: Minor: BAD_PARAM_WrongPythonType, COMPLETED_NO.

OK, but why would you want to do that?  I think it would probably be
possible to make it work, but it would probably involve touching quite
a lot of code. I don't have time to do that at the moment.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --