Re: Notify examples
Daniele Varrazzo <[email protected]> Sun, 29 Aug 2010 21:35:49 +0100
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Aug 28, 2010 at 5:31 PM, Marcelo Fernandez <[email protected]> wrote: > Hello there, > > I was trying to make a basic example of notify/listen and I've found a > big difference in the select() call between the examples directory [1] > and the official docs version [2]. [...] > Is it a mistake in the documentation? Or there was a change in *v2.2*? There was a change in 2.2: in this version there has been a general overhaul of the asynchronous methods and the fileno was moved from the cursor to the connection, so it's the now connection to be put in the select list. Also, the svn trunk you refer to is out of date. Please check the psycopg homepage for the url of the current repository, that has been moved to git. -- Daniele