[issue14412] Sqlite Integer Fields

2012-04-12 Thread Mendez

Mendez goatsofmen...@users.sourceforge.net added the comment:

I've tested the released 2.7.3 and this works fine so there must just have been 
some oddity with the packaging of sqlite in rc2.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-04-12 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

Great!

--
resolution:  - out of date
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-04-09 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

Given the lack of progress here, I will be releasing 2.7.3.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-04-06 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

What steps can we take to further debug/address this?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-03-27 Thread Mendez

Mendez goatsofmen...@users.sourceforge.net added the comment:

I've done some more checking

2.7.3rc1 32-bit works as expected.

If I replace

sqlite3.dll
_sqlite3.lib

in rc2 32-bit with those from rc1 then that fixes the problem.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-03-27 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

I can't reproduce that. Your test script, with the released 2.7.3rc2, on 
Windows 7, gives 

12349 type 'int'

for me, as it should.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-03-27 Thread Mendez

Mendez goatsofmen...@users.sourceforge.net added the comment:

Is that with the 32-bit Python on a 64-bit copy of Windows?

I've tried it on a different machine, again running Windows 7 64-bit and I'm 
getting the same incorrect results.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-03-27 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

 Is that with the 32-bit Python on a 64-bit copy of Windows?

No, it was the 64-bit version.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-03-26 Thread Mendez

New submission from Mendez goatsofmen...@users.sourceforge.net:

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
12349 type 'int'

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

I wonder if this might be related to the changes in #8033.

--
files: sqltest.py
messages: 156809
nosy: goatsofmendez
priority: normal
severity: normal
status: open
title: Sqlite Integer Fields
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file25027/sqltest.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-03-26 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Can't reproduce under Linux. Can someone test under Windows?

--
components: +Library (Lib)
nosy: +benjamin.peterson, brian.curtin, pitrou, tim.golden
priority: normal - release blocker

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-03-26 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Can't reproduce on a 2.7 debug build under Windows either.
Some data points:

 hex(530428456761032704)
'0x75c75df'
 hex(12349)
'0x75c75df'

Looking at #8033, it seems unlikely to have caused this problem.
Perhaps we shipped the 2.7.3 rc with a buggy SQLite build?

Can you (or someone else) check the 2.6, 3.1 and 3.2 release candidates as well?

--
nosy: +loewis, petri.lehtinen

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14412] Sqlite Integer Fields

2012-03-26 Thread Mendez

Mendez goatsofmen...@users.sourceforge.net added the comment:

I've tried the 32-bit version of 3.2.3rc2 and that works as expected.

There don't seem to be Windows builds of 2.6 and 3.1 available so I haven't 
been able to try those.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14412
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com