thks
Regards
Bussiere
On 9/12/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> bussiere maillist wrote:
>
> > DeprecationWarning: struct integer overflow masking is deprecated
> > return struct.pack('>H', ~value)
> > i didn't understand if someone have some explanation
> > and what uses instead.
bussiere maillist wrote:
> DeprecationWarning: struct integer overflow masking is deprecated
> return struct.pack('>H', ~value)
> i didn't understand if someone have some explanation
> and what uses instead.
the value doesn't fit in 16 bits. try masking off the extra bits on the
way in:
bussiere maillist wrote:
> DeprecationWarning: struct integer overflow masking is deprecated
> return struct.pack('>H', ~value)
> i didn't understand if someone have some explanation
> and what uses instead.
Which 2.5 are you using? Mine (2.5c1, win32) gives me *TWO* messages,
the second of whi
DeprecationWarning: struct integer overflow masking is deprecated
return struct.pack('>H', ~value)
i didn't understand if someone have some explanation
and what uses instead.
--
http://mail.python.org/mailman/listinfo/python-list