and quotes it, converting None into NULL. MySQLdb.py is the DBI-1.1 compatible wrapper. To do: Type conversions for fetch_row().