The Cursor.execute method *demands* a tuple as its parameter sequence. It seems to me that any sequence should be accepted; that would be more Pythonic.
Logged In: YES user_id=414645
Fixed in CVS; now accepts any sequence that implements __len__ and __getitem__ (except a string).
Log in to post a comment.
Logged In: YES
user_id=414645
Fixed in CVS; now accepts any sequence that implements
__len__ and __getitem__ (except a string).