Re: A list of open points in the documentation
Federico Di Gregorio <fog-NGVKUo/i/[email protected]> Sat, 13 Feb 2010 00:43:06 +0100
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On 11/02/2010 10:54, Karsten Hilbert 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. > However, the IN syntax adapter is currently under discussion > for standard inclusion. SQL_IN adapter is now registered when importing psycopg2 instead of psycopg2.extensions. This should have removed the last side-effect of importing modules. All other adapters needs an explicit call after importing the correct module (psycopg2.extras). federico -- Federico Di Gregorio fog-NGVKUo/i/[email protected] If nobody understand you, that doesn't mean you're an artist. -- anonymous _______________________________________________ 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/ iEYEARECAAYFAkt154oACgkQvcCgrgZGjesucQCfWmbgXmjLlkNOT8H2n/bpyK5P zIgAnRMTuW0pdpmVGhlX1T7zpFKOlQma =wCuG -----END PGP SIGNATURE-----