On Tue, Jul 20, 2010 at 6:48 PM, Greg Hennessy <greg.henne...@cox.net> wrote: > On 2010-07-21, Chris Rebert <c...@rebertia.com> wrote: >> On Tue, Jul 20, 2010 at 6:31 PM, Greg Hennessy <greg.henne...@cox.net> 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?
I'm not saying they necessarily should, but they're standardized and the `time` module is based on POSIX/Unix-ish assumptions; not following POSIX would be inconsistent and problematic. <Mr.-Mackey-voice>Breaking standards is bad, M'Kay?</Mr.-Mackey-voice> > This is a pet peeve of mine, when will someone actually implement leap > seconds correctly? Well, at least there's the possibility they will be eliminated in the future anyway, which would make their implementation a non-issue. :-) Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list