[omniORB] omniORBpy question about Any values

Duncan Grisby dgrisby@uk.research.att.com
Thu, 19 Apr 2001 12:27:00 +0100


On Thursday 19 April, Craig Rodrigues wrote:

> o.foo(CORBA.Any(tc, v))
> 
> I believe that this example is misleading, because
> in the IDL preceding the example, foo is the name
> of an interface, not an operation.

You're right. The example is broken. In fact, it's broken in lots of
ways. In addition to what you point out about the operation name, the
line which reads

  tc = Corba.TypeCode("M::S")

should actually read

  tc = CORBA.TypeCode("IDL:M/S:1.0")

or perhaps better

  tc = CORBA.TypeCode(CORBA.id(M.S))

> Can someone give me instructions on how to file a change request
> to an OMG specification?  I assume that the omniORB developers have
> been involved in the writing of the Python Language Mapping.

You should send an email to issues@omg.org, outlining what's wrong and
what to do to fix it. It's a good idea to Cc python-ftf@omg.org too.

Cheers,

Duncan.

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