Re: problem with timezone parsing

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <[email protected]>
Il giorno mar, 24/02/2009 alle 10.46 +0100, Karsten Hilbert ha scritto:
> > I'd like to add your code to cope with "bad" timezones to
> > psycopg2.extras for next release. Do you care about tidying it and
> > providing a call like register_uuid() or register_inet() that will
> > install the type-caster?
> Sure, what do I need to do ?

Just have a look at extras.py and provide a single function there that
install your type-caster. Then send a patch. Thanks!

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
  Gli avvoltoi cinesi si nutrono di arte, ma possono anche mangiare
   i `domani'.                                        -- Haruki Murakami

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

iEYEABECAAYFAkmjwpIACgkQvcCgrgZGjet+IQCdE8Lo49N3SYdlpmYoFfZuRHLZ
vTQAnA2o/BXeHmXiNh5zDj5c+1wYva+T
=chBB
-----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.