I'm trying to understand how Python 2.7.6 can output -4294967296 from a 32 bit integer. My assumptions on python integers are:
- Python does not have unsigned integers
- Python uses 2's complement
If assumption 2 is true than in a 32 bit integer the max negative number should be -2147483648 (-2^31) since the MSB is resolved for the sign of the integer.
Does Python stack on another 32 bits ( 32 bit + 32 bit) to make a 64 bit integer?