Re: PROPOSAL: disable or delete the display_size calculation code

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <[email protected]>
Il giorno lun, 21/01/2008 alle 07.25 +0100, Harald Armin Massa ha
scritto:
> My vote as a user:
> 
> > I think we should do one of the following:
> > 1. unset PSYCOPG_DISPLAY_SIZE in the set of default options to disable the code.
> > 2. remove the code entirely.
> >
> > I'd favour (2), since I find that untested code paths have a habit of
> > breaking over time.  What do you think?
> 
> is 2); especially if that call is as expensive as you describe.

Let's unset PSYCOPG_DISPLAY_SIZE for a couple of releases before
removing the code entirely. I was able to maintain psycopg2 almost
compatible with programs written when 1.5 was the mainline Python and I
don't like to break APIs without giving the users some months to check
if everything still works.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
                            Non vi sono certezze, solo opportunità. -- V

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHlGKsvcCgrgZGjesRAg2tAJ9jN1XX+f2sx328wLFnG2kr1v6JfwCeJVwb
MvYJ1DE3MDPlUocmFwGD6Jc=
=wcLq
-----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.