Help with #381343 (FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up)
Hello,
I am _not_ a Python user/developper but maintain the plucker and
plucker-desktop packages which are Python scripts.
The warnings I get are:
/usr/lib/python2.3/site-packages/PyPlucker/helper/gettext.py:131: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
if _lsbStrToInt(buffer[:4]) != 0x950412de:
/usr/lib/python2.3/site-packages/PyPlucker/helper/gettext.py:176: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
f.write(_intToLsbStr(0x950412de)) # magic number
/usr/lib/python2.3/site-packages/PyPlucker/helper/prc.py:244: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
attr = (auid & 0xff000000) >> 24
/usr/lib/python2.3/site-packages/PyPlucker/helper/prc.py:876: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
attr = (auid & 0xff000000) >> 24
What is the best way to solve these warnings and avoid possible
problems with Python 2.4?
Please cc: me on replies since I am not a subscriber of this list.
Thanks,
--
Dr. Ludovic Rousseau Ludovic.Rousseau@free.fr
-- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
Reply to: