[omniORB] [newbie] Python long type problem

Duncan Grisby dgrisby@uk.research.att.com
Mon, 23 Jul 2001 10:25:48 +0100


On Friday 20 July, Jerome Bouat wrote:

> I can't get the Python long type from a Python server.

>     unsigned long long getLong();

unsigned long long is a 64-bit integer.

[...]
>     def getLong(self):
>         print 'getLong'
>         return 684343535468438454665L

That number is significantly bigger than 2**64.

IDL has no arbitrary precision integer type equivalent to Python's
long.

Cheers,

Duncan.

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