Re: TimestampFromTicks() throws ValueError (2-2.0.14)
Daniele Varrazzo <[email protected]> Fri, 7 May 2010 18:11:21 +0100
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 6, 2010 at 9:23 PM, Jozsef Szalay <jszalay-7JS02rSrduhWk0Htik3J/[email protected]> wrote: > > Hi, > > The following sequence results in an exception > > import psycopg2 > print psycopg2.TimestampFromTicks(1273173119.99992) > > Traceback (most recent call last): > File "<stdin>", line 1, in ? > ValueError: second must be in 0..59 > > Applying the patch below produces the expected result ... Patch applied, thank you very much. It should be included in the upcoming release 2.2. -- Daniele