[omniORB] omniORBpy 3.0: Inconsistent return from CORBA.TypeCode.kind()

Arne Grimstrup arne at ras.ucalgary.ca
Thu Sep 20 11:52:27 BST 2007


Hi everyone,

I've been porting some code from omniORBpy 2.7 to omniORBpy 3.0 and have run
into an odd behaviour of the CORBA.TypeCode.kind method.  When I call kind()
as follows:

 >>> f = CORBA.TC_boolean
 >>> f.kind()
CORBA.tk_boolean

Yet, when I do a similar thing with an interface I've defined I see:

 >>> g = CORBA.TypeCode("IDL:alma/ACS/ROdouble:1.0")
 >>> g.kind()
14

which is the value of CORBA.tk_objref.

omniORBpy 2.7 returns CORBA.tk_objref, so I'm confused why the two
versions are different.

Regards,

Arne



More information about the omniORB-list mailing list