Re: A list of open points in the documentation

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
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?

federico

-- 
Federico Di Gregorio                                       fog-NGVKUo/i/[email protected]
                   Ma chi sei?....-il trafficante di Nutella? -- Giorgia

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktyqAcACgkQvcCgrgZGjeuHIwCeKqmZMhs4xsbLsmBP3k8V6nQ1
pfsAnRhrMPZLpaQ5LTCoPEb9/qmcUALl
=ON+Z
-----END PGP SIGNATURE-----
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.