Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:code': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'wrote': 0.14; '"user': 0.16; '>on': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'roy': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'url:home': 0.24; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'chris': 0.29; 'dec': 0.30; 'went': 0.31; 'assert': 0.31; 'fri,': 0.33; 'one,': 0.35; 'charset:us-ascii': 0.36; 'list.': 0.37; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'changed': 0.39; 'received:org': 0.40; 'how': 0.40; 'high': 0.63; 'smith': 0.68; '"can': 0.84; 'received:108': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: cascading python executions only if return code is 0 Date: Thu, 26 Dec 2013 21:20:41 -0500 Organization: IISS Elusive Unicorn References: <52b782db$0$6599$c3e8da3$5496439d@news.astraweb.com> <52b7a0e4$0$29994$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-68-178-129.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388110844 news.xs4all.nl 2916 [2001:888:2000:d::a6]:37629 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62762 On Fri, 27 Dec 2013 12:44:35 +1100, Chris Angelico declaimed the following: >On Fri, Dec 27, 2013 at 12:37 PM, Roy Smith wrote: >> 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. > >assert second >= self.current_second, "user changed the clock" > Why blame the user if an NTP synch made the adjustment? -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/