|
Re: notify.py: msg#00082python.db.psycopg.devel
Il giorno ven, 17/03/2006 alle 16.24 -0600, Michael Hipp ha scritto: > In production code, would it be generally advisable to put a try/except block > around the curs.isready() and curs.connection.notifies() ? isready() never raise an exception. notifies is a list so you should do as you do for lists. federico -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer fog-8fiUuRrzOP0dnm+yROfE0A@xxxxxxxxxxxxxxxx INIT.D Developer fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx Sei una bergogna. Vergonga. Vergogna. -- Valentina
Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx http://lists.initd.org/mailman/listinfo/psycopg |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: notify.py: 00082, Michael Hipp |
|---|---|
| Next by Date: | Re: query: 00082, Timothy Smith |
| Previous by Thread: | Re: notify.pyi: 00082, Michael Hipp |
| Next by Thread: | Binary Cursors?: 00082, Peter Fein |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |