Ned Deily added the comment:
In a 32-bit version of Python 2, that value cannot be represented as an 'int'
type.
>>> i = 3783907807
>>> type(i)
Normally, Python 2 implicitly creates objects of type 'int' or type 'long' as
needed. But in your example, you are forcing type 'int' and you corre
New submission from Thomas Ball:
The attached file raises the exception:
OverflowError: Python int too large to convert to C long
in Python 2.7.7, which clearly is a bug.
The error is not present in Python 3.4.
--
files: testint.py
messages: 221116
nosy: Thomas.Ball
priority: normal