uuid support added. testing: cr.execute('select %s AS x', (uuid.UUID('911460f2-1f43-fea2-3e2c-e01fd5b5069d'),)); cr.fetchone()[0] == uuid.UUID('911460f2-1f43-fea2-3e2c-e01fd5b5069d')