Re: A list of open points in the documentation
Federico Di Gregorio <fog-NGVKUo/i/[email protected]> Sat, 13 Feb 2010 00:25:30 +0100
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On 11/02/2010 12:03, Daniele Varrazzo wrote: > So, I think changing the exception would only be a problem for people > already using the method and dealing with it (who have probably > already figured out that catching (IndexError, ProgrammingError) is a > good idea) and not such a huge win for anybody else, who are now > warned about what to do. > > We would add the "strict mode" only for this small glitch which is > /something else/ people should think about... for me it would be > overkilling - just multiplying code paths while not being an huge win. > I added a note in the documentation about the discrepancy and how to > cope with it (http://piro.develer.com/psycopg2-doc/cursor.html#cursor.scroll): > I think this is more than enough for both existing and new psycopg > users. On second tought, I agree. I suppose we can put a big notice in the NEWS file to warn users and then change the excpetion to the correct type. federico -- Federico Di Gregorio fog-NGVKUo/i/[email protected] La felicità è una tazza di cioccolata calda. Sempre. -- Io _______________________________________________ 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/ iEYEARECAAYFAkt142oACgkQvcCgrgZGjev/XACdEPk96/AuXkCmN9FMjI4szpxY OFEAoNUXMK7F2KyFtLMOyccwclFn5AjP =IDcS -----END PGP SIGNATURE-----