What's wrong with this?
type(struct.unpack('l','\00'*8)[0])
<type 'int'>Why I am getting 'int' when I asked for 'long'? This is on python-2.5.1-15.fc8.x86_64 -- http://mail.python.org/mailman/listinfo/python-list
What's wrong with this?
type(struct.unpack('l','\00'*8)[0])
<type 'int'>Why I am getting 'int' when I asked for 'long'? This is on python-2.5.1-15.fc8.x86_64 -- http://mail.python.org/mailman/listinfo/python-list