switched to MySQLdb.cursors.DictCursor and all the badness is gone...