This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author goatsofmendez
Recipients goatsofmendez
Date 2012-03-26.11:00:00
SpamBayes Score 4.0731866e-05
Marked as misclassified No
Message-id <1332759601.85.0.320524122366.issue14412@psf.upfronthosting.co.za>
In-reply-to
Content
There appears to be a problem with the handling of integer fields in SQLite in the 32-bit release candidate for 2.7.3.

I'm running the 64-bit version of Windows 7.

I've attached a script which reproduces the issue. The following are the results I get with different versions of Python, with the later two being as expected.

Python - 2.7.3 rc2 - 32-bit:
R:\>c:\python27\python "C:\Temp\sqltest.py"
530428456761032704 <type 'long'>

Python - 2.7.2 - 32-bit:
R:\>c:\python27\python "C:\Temp\sqltest.py"
123499999 <type 'int'>

Python - 2.7.2 rc2 - 64-bit:
R:\>c:\python27_64\python c:\temp\sqltest.py
123499999 <type 'int'>

I wonder if this might be related to the changes in #8033.
History
Date User Action Args
2012-03-26 11:00:02goatsofmendezsetrecipients: + goatsofmendez
2012-03-26 11:00:01goatsofmendezsetmessageid: <1332759601.85.0.320524122366.issue14412@psf.upfronthosting.co.za>
2012-03-26 11:00:01goatsofmendezlinkissue14412 messages
2012-03-26 11:00:01goatsofmendezcreate