Re: [pysqlite] [ANN] pysqlite 2.5.2
Gerhard Häring <[email protected]> Thu, 05 Mar 2009 23:13:54 +0100
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Edzard Pasma wrote: >>>> 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. Just wanted to answer ;-) Yes, that's what I meant. I'm on Cebit Fri-Sun, so I'll read this list again on Monday. -- Gerhard