[omniORB] omniORBpy and special method names
Gaël Le Mignot
kilobug at freesurf.fr
Thu Feb 12 10:13:03 GMT 2004
Hello,
I'm using omniorb with Python. When, in the IDL, a method name is
Python keyword (like 'del') the method should be renamed with an _
(like '_del'). But I get a CORBA exception (BadOperation) when I call
it.
I've looked into the generated stubcode, and found:
def _del(self, *args):
return _omnipy.invoke(self, "_del", _0__GlobalIDL.IMailbox._d__del, args)
shouldn't that be:
def _del(self, *args):
return _omnipy.invoke(self, _del", _0__GlobalIDL.IMailbox._d__del, args)
I've the following versions of omniidl-py:
ii omniidl4 4.0.3-2
ii omniidl4-python 2.2-1.1
--
Gael Le Mignot "Kilobug" - kilobug at nerim.net - http://kilobug.free.fr
GSM : 06.71.47.18.22 (in France) ICQ UIN : 7299959
Fingerprint : 1F2C 9804 7505 79DF 95E6 7323 B66B F67B 7103 C5DA
Member of HurdFr: http://hurdfr.org - The GNU Hurd: http://hurd.gnu.org
More information about the omniORB-list
mailing list