--- Modules/_sqlite/cursor.c.orig 2008-02-21 18:33:10.000000000 +0000 +++ Modules/_sqlite/cursor.c 2008-02-21 18:33:39.000000000 +0000 @@ -202,7 +202,7 @@ decltype = sqlite3_column_decltype(self->statement->st, i); if (decltype) { for (pos = decltype;;pos++) { - if (*pos == ' ' || *pos == 0) { + if (*pos == ' ' || *pos == '(' || *pos == 0) { py_decltype = PyString_FromStringAndSize(decltype, pos - decltype); if (!py_decltype) { return -1;