[omniORB] FutureWarning issued by omniidl

Duncan Grisby duncan at grisby.org
Thu Aug 21 17:47:39 BST 2003


On Tuesday 12 August, Bastian Blank wrote:

> using omniidl from omniorb 4.0.2 with python 2.3 issue the following
> warning:
> | /usr/lib/python2.3/site-packages/omniidl_be/cxx/descriptor.py:144:
>   FutureWarning: hex/oct constants > sys.maxint will return positive
>   values in Python 2.4 and up

Thanks for pointing that out. I don't think the code would actually go
wrong with Python 2.4, since it's there to do unsigned shifting on
Python's signed integers. Regardless, I've changed it to use long
integers, so it doesn't complain any more.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list