(no title)
peterderivaz | 11 years ago
>>> import numpy
>>> x=0
>>> y=numpy.int32(2*10**9)
>>> x+=y
>>> x+=y
>>> x
-294967296
In later versions of Python this gives a RuntimeWarning so this is less likely to cause problems now.
PhantomGremlin|11 years ago