Message149251
| 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:51 | xapple | set | recipients:
+ xapple |
| 2011年12月11日 21:45:48 | xapple | set | messageid: <1323639948.36.0.717803065724.issue13583@psf.upfronthosting.co.za> |
| 2011年12月11日 21:45:47 | xapple | link | issue13583 messages |
| 2011年12月11日 21:45:47 | xapple | create |
|