Re: FutureWarning

2004-12-27 Thread Bengt Richter
On Fri, 24 Dec 2004 10:10:38 -0500, Peter Hansen <[EMAIL PROTECTED]> wrote: >Egor Bolonev wrote: >> = >> C:\Documents and Settings\ŠÕÀ³\My >> Documents\Scripts\octopus_eye\1\oct_eye_db.py: >> 213: FutureWarning: hex()/oct() of negative int will return a signed >> string in P >>

Re: FutureWarning

2004-12-24 Thread Peter Hansen
Egor Bolonev wrote: = C:\Documents and Settings\┼уюЁ\My Documents\Scripts\octopus_eye\1\oct_eye_db.py: 213: FutureWarning: hex()/oct() of negative int will return a signed string in P ython 2.4 and up if hex(binascii.crc32(data))[0] == '-': = hex() will return

RE: FutureWarning

2004-12-24 Thread Batista, Facundo
Title: RE: FutureWarning [Egor Bolonev] #- = #- C:\Documents and Settings\+уюЁ\My #- Documents\Scripts\octopus_eye\1\oct_eye_db.py: #- 213: FutureWarning: hex()/oct() of negative int will return #- a signed #- string in P #- ython 2.4 and up #-    if hex(binascii.crc32