sqlite3 docbug (was problem with sqlite3)
Terry Reedy
tjreedy at udel.edu
Thu Jan 23 20:03:08 EST 2014
On 1/23/2014 7:36 AM, Tim Chase wrote:
> 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.
I would check 2.7 behavior before changing the 2.7 doc.
--
Terry Jan Reedy
More information about the Python-list
mailing list