Re: problem with timezone parsing

Karsten Hilbert <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On Wed, Feb 25, 2009 at 02:04:43PM +0100, Federico Di Gregorio wrote:

> > > Please, don't add logging to anything to be distributed with psycopg. If
> > > you really need logging to debug is much better to use a custom,
> > > instrumented version of the libraries.
> > 
> > Well, extras already uses logging if available. Is it just
> > psycopg2 policy to not add logging or is there any specific
> > reason ?
> 
> extras uses logging in the Logging* classes. ;)

I hoped you wouldn't catch that ;-)

> The reason to not add
> logging everywhere is that I know of psycopg running on some reduced
> Pythons where logging is not available.

I see. That makes sense.

> > Do you consider it sufficient to tell users in the doc
> > string that using this timestamp caster can produce
> > timestamps which are wrong by up to 59 seconds ?
> 
> Sure.
OK, good, so be it.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346
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.