cascading python executions only if return code is 0

Chris Angelico rosuav at gmail.com
Fri Dec 27 05:45:07 CET 2013


On Fri, Dec 27, 2013 at 3:39 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> Time goes backwards by one hour[1] at least once a year across most of the
> world.
>
> http://infiniteundo.com/post/25509354022/more-falsehoods-programmers-believe-about-time-wisdom
>
> [1] Unless it's less than an hour. Or more than one hour.

Kinda. That should be accompanied by a change in UTC offset,
indicating that time hasn't gone backwards, just the clock. Anything
that queries the clock in UTC shouldn't see it go backward. But if
there's a time server that's misconfigured, and it actually jumps time
backward, then yes, you could see NTP change the time back by an hour
once a year. It's wrong, but it certainly can happen.

ChrisA



More information about the Python-list mailing list