[issue21584] Unraised overflow error in sqlite3.Row indexing

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually this happens after applying the patch from issue10203. -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___

[issue21584] Unraised overflow error in sqlite3.Row indexing

2014-05-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: When integer index overflows C long, sqlite3.Row.__getitem__() doesn't raise an exception. Instead overflow exception is raised later. >>> import sqlite3 >>> con = sqlite3.connect(":memory:") >>> con.row_factory = sqlite3.Row >>> row = con.execute("select 1