Re: convert time to UTC seconds since epoch

2010-07-20 Thread Greg Hennessy
On 2010-07-20, Rami Chowdhury  wrote:
> If you have a sufficiently recent version of Python, have you
>considered time.strptime:
>http://docs.python.org/library/time.html#time.strptime ? 

Given the documentation talks about "double leap seconds" which don't
exist, why should this code be trusted?


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: convert time to UTC seconds since epoch

2010-07-20 Thread Greg Hennessy
On 2010-07-21, Chris Rebert  wrote:
> On Tue, Jul 20, 2010 at 6:31 PM, Greg Hennessy  wrote:
>> Given the documentation talks about "double leap seconds" which don't
>> exist, why should this code be trusted?
>
> Because they exist(ed) in POSIX.

Why should POSIX time calculations involving leap seconds be trusted?

This is a pet peeve of mine, when will someone actually implement leap
seconds correctly?

And as a professional astronomer myself, I'm well aware of Steve
Allen's website. :)

-- 
http://mail.python.org/mailman/listinfo/python-list