unmerge 381343
close 381343
thanks

Le 03.08.2006, à 21:14:35, Florian Schlichting a écrit:
> Package: plucker-desktop
> Version: 1.8-15
> Severity: minor
> 
> this is just in case you haven't encountered this - 
> 
> when updating a channel, the first messages I get are the following:
> 
> 
> /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/PluckerDocs.py:86: 
> DeprecationWarning: Non-ASCII character '\xfc' in file 
> /usr/lib/python2.3/site-packages/PyPlucker/helper/doc_compress.py on line 23, 
> but no encoding declared; see http://www.python.org/peps/pep-0263.html for 
> details
>   from PyPlucker.helper import doc_compress
> /usr/lib/python2.3/site-packages/PyPlucker/Writer.py:21: DeprecationWarning: 
> Non-ASCII character '\xfc' in file 
> /usr/lib/python2.3/site-packages/PyPlucker/helper/prc.py on line 20, but no 
> encoding declared; see http://www.python.org/peps/pep-0263.html for details
>   from PyPlucker.helper import prc, dict
> /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

I do not have these warnings with Python 2.4 anymore.

The code should still work since Python is doing the expected
calculation.

$ python
Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58)
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> auid=0x12345678
>>> hex((auid & 0xff000000) >> 24)
'0x12L'


I now close this bug.

Thanks

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --

Reply via email to