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 mer, 25/02/2009 alle 14.00 +0100, Karsten Hilbert ha scritto: > On Wed, Feb 25, 2009 at 01:52:50PM +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. ;) THe reason to not add logging everywhere is that I know of psycopg running on some reduced Pythons where logging is not available. > 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. > Attached find an updated version without any logging. Thanks. federico -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer [email protected] INIT.D Developer fog-NGVKUo/i/[email protected] Una nazionale senza neanche una nazione. -- macchinavapore