sqlite3 docbug (was problem with sqlite3)
Tim Chase
python.list at tim.thechases.com
Thu Jan 23 07:36:34 EST 2014
On 2014-01-23 05:43, Terry Reedy wrote:
> A list instead of a tuple does work, but not an iterable, so
> 'sequence'.
In the OP's case using sqlite drivers, this is true. However, I
maintain some old 2.4 code that uses a correspondingly ancient version
of mx.ODBC which requires a tuple and raises an exception on any other
iterable. So I always use a tuple out of habit, even if it would be
easier to just use some other iterable.
-tkc
More information about the Python-list
mailing list