Re: [pysqlite] [ANN] pysqlite 2.5.2
"Edzard Pasma" <[email protected]> Thu, 5 Mar 2009 12:03:20 -0800
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
>>> class Connection (sqlite.Connection): >>> def cursor (self): >>> return Cursor (self) >> Here's the problem. do this instead: >> return sqlite.Connection.cursor(self) > OK, but does it still use my custom CUrsor class then? Adding factory=Cursor solved this, sigh.