a 32 bit number to integer

Ricardo Quesada lists at core-sdi.com
Tue Jan 24 11:23:05 EST 2006


Hi,

  In python 2.0, this number was an integer:
    0x88776655

  but in python 2.4 it is a long (every number > 0x7fffffff it is a long)

in python 2.4, is there a way to convert that number to a integer 
(notice that it only occupies 32 bits) ?


thanks,
riq.




More information about the Python-list mailing list