[omniORB] Python mapping for IDL typedef and arrar

Duncan Grisby duncan@grisby.org
Tue Mar 11 16:16:00 2003


On Tuesday 11 March, ondrej@frcatel.fri.utc.sk wrote:

>   omniORBPy does not support typedefs (in connection with arrays) ?? why ?

[...]
> Thank you for the workarounds. Does anybody know, why I cannot construct
> object of that type ?

Read the Python language mapping. omniORBpy's behaviour is correct.
IDL arrays are mapped to Python lists, not instances of a class. The
class is there so it can be passed to CORBA.id().

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --