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 xapple
Recipients xapple
Date 2011-12-11.21:45:47
SpamBayes Score 2.9237733e-06
Marked as misclassified No
Message-id <1323639948.36.0.717803065724.issue13583@psf.upfronthosting.co.za>
In-reply-to
Content
When using the sqlite3.Row object as a row factory, one can access the resulting rows by index (such as row[1]) or by name (such as row['b']). However, the slice functionality is lost, as doing row[0:2] raises the error:

"slices not implemented, yet"

Here is a patch that fixes this, I implemented it and I added the corresponding unit test.
History
Date User Action Args
2011-12-11 21:45:51xapplesetrecipients: + xapple
2011-12-11 21:45:48xapplesetmessageid: <1323639948.36.0.717803065724.issue13583@psf.upfronthosting.co.za>
2011-12-11 21:45:47xapplelinkissue13583 messages
2011-12-11 21:45:47xapplecreate