Re: A list of open points in the documentation
Marko Kreen <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/10/10, Federico Di Gregorio <fog-NGVKUo/i/[email protected]> wrote: > On 10/02/2010 05:38, Daniele Varrazzo wrote: > > 4. in order to use the tuple adapter to the IN syntax, > > psycopg2.extensions has to be imported. Is this a bug (it has already > > bitten me once) to be fixed or a "feature" to document? > > It is a feature. Almost all extensions to the DBAPI (except ones in the > C code) are enabled by importing psycopg2.extensions. IMHO this is bug. Converting Python tuples to Postgres tuples is not an extension, but plain type support. It's not like there is a alternative way to handle them. -- marko