cascading python executions only if return code is 0
steve+comp.lang.python at pearwood.info
Fri Dec 27 05:39:57 CET 2013
Roy Smith wrote:
> In article <mailman.4567.1387819120.18130.python-list at python.org>,
> Ethan Furman <ethan at stoneleaf.us> wrote:
>> Mostly I don't want newbies thinking "Hey! I can use assertions for all
>> my confidence testing!"
> How about this one, that I wrote yesterday;
> assert second >= self.current_second, "time went backwards"
> I think that's pretty high up on the "can never happen" list.
Time goes backwards by one hour at least once a year across most of the
 Unless it's less than an hour. Or more than one hour.
More information about the Python-list