This patch to the python bindings adds C versions of the often-used query
args quoting routines, as well as support for quoting lists e.g.
dbc.execute("SELECT * FROM foo WHERE blah IN %s", ([1,2,3],))
Please consider incorporating this patch into postgresql 7.2,
-- Elliot