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 13:19, Marko Kreen wrote:
>  > 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.
>
>
> Well, yes. So you're suggesting to move the adapter to psycopg2 itself
>  (not extensions) and enable it by default?

Yes.

-- 
marko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.