[Orbit-python-list] Re: Promoting from integer to double in a union?
Status: Inactive
Brought to you by:
tack
From: Jason T. <ta...@li...> - 2000-03-20 14:32:49
|
> I didn't really expect this to work, but it does with Fnorb and > omniORB. On the other hand, with orbit-python I get an exception: > > CORBA.SystemException: IDL:omg.org/CORBA/BAD_PARAM:1.0: > Expected float, got int I was debating about whether or not I should promote ints to floats. For consistency and readability, I decided to require a float value. Also, the Python Language Mapping Specification doesn't explicitely permit integers here (I think). Jason. -- Unix/Network Administrator Algoma University College Sault Ste. Marie, Ontario -- Assistant Project Manager: http://dev.linux.com ORBit-Python Author: http://projects.sault.org/orbit-python Personal Homepage: http://orion.dok.org |