[issue13583] sqlite3.Row doesn't support slice indexes

Antoine Pitrou report at bugs.python.org
Mon Dec 19 16:17:41 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Thanks for the patch. Two things:

- there is a compilation warning using gcc:

/home/antoine/cpython/default/Modules/_sqlite/row.c: In function ‘pysqlite_row_subscript’:
/home/antoine/cpython/default/Modules/_sqlite/row.c:128:26: attention : passing argument 1 of ‘PySlice_GetIndicesEx’ from incompatible pointer type

- you can use assertEqual to avoid defining the error message yourself

----------
nosy: +pitrou
stage:  -> patch review
versions:  -Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13583>
_______________________________________


More information about the Python-bugs-list mailing list