Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "D'Arcy J.M. Cain" Newsgroups: comp.lang.python Subject: Re: Why not allow empty code blocks? Date: Fri, 29 Jul 2016 12:20:12 -0400 Organization: Vex.Net Lines: 25 Message-ID: References: <5792cd34$0$1587$c3e8da3$5496439d@news.astraweb.com> <87vazwppxx.fsf@elektro.pacujo.net> <579B1ABB.1070500@rece.vub.ac.be> <20160729071458.1dfa170f@imp> <20160729122012.3eb3d875@imp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de YJnvhqOaU7b5D6rj0zNpSQClYRRFR+wGj+FSTPyNbGew== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:code': 0.07; 'cc:addr:python-list': 0.09; 'behave': 0.09; 'naturally': 0.09; 'subject:Why': 0.09; 'subject:not': 0.11; 'missed': 0.15; '2016': 0.16; 'commented': 0.16; 'exception?': 0.16; 'insightful': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:allow': 0.16; 'wrote:': 0.16; 'debugging': 0.18; 'try:': 0.18; 'developer': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'suppose': 0.22; 'cc:no real name:2**0': 0.22; 'wrote': 0.23; 'header:In-Reply-To:1': 0.24; 'fri,': 0.27; 'not.': 0.27; '+0100': 0.27; 'then.': 0.27; 'that.': 0.30; 'code': 0.30; 'getting': 0.33; 'except': 0.34; 'stopped': 0.35; 'comment': 0.35; 'there': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'some': 0.40; 'course': 0.62; 'more': 0.63; 'jul': 0.72; 'coffee': 0.84; 'idiot.': 0.84; 'premature': 0.84; 'received:98.158': 0.84 In-Reply-To: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20160729122012.3eb3d875@imp> X-Mailman-Original-References: <5792cd34$0$1587$c3e8da3$5496439d@news.astraweb.com> <87vazwppxx.fsf@elektro.pacujo.net> <579B1ABB.1070500@rece.vub.ac.be> <20160729071458.1dfa170f@imp> Xref: csiph.com comp.lang.python:112022 On Fri, 29 Jul 2016 14:15:01 +0100 BartC wrote: > > try: > > Some code > > # except Some_Exception: > > # Commented code for when I am debugging > > Will it behave the same way when there is a Some_Exception exception? Of course not. The person writing that was an idiot. Oh wait - I wrote that. Damn! There must have been a reasonable excuse then. Naturally that part of my message was the only thing commented on. I suppose people stopped reading after that flub and missed my insightful comment on premature developer optimization. Getting more coffee now. -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy@Vex.Net VoIP: sip:darcy@Vex.Net