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: Sat, 30 Jul 2016 10:39:37 -0400 Organization: Vex.Net Lines: 34 Message-ID: References: <5792cd34$0$1587$c3e8da3$5496439d@news.astraweb.com> <87vazwppxx.fsf@elektro.pacujo.net> <579B1ABB.1070500@rece.vub.ac.be> <579c2095$0$22142$c3e8da3$5496439d@news.astraweb.com> <20160730103937.6b993ad5@imp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de kS7YRtNU5J3bkUEmsWqXAwfM+J/xfZD6p/aC/NG6tr8g== 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; 'list?': 0.07; 'subject:code': 0.07; 'cc:addr:python-list': 0.09; 'replied': 0.09; 'subject:Why': 0.09; 'python': 0.10; 'language,': 0.11; 'subject:not': 0.11; '":"': 0.16; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'statement.': 0.16; 'subject:allow': 0.16; 'which,': 0.16; 'wrote:': 0.16; 'python?': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cc:no real name:2**0': 0.22; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'possibility': 0.27; '+0100': 0.27; "skip:' 10": 0.28; 'went': 0.28; 'occurred': 0.29; 'list': 0.34; 'necessary.': 0.35; 'something': 0.35; "isn't": 0.35; 'but': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'missing': 0.37; 'charset:us-ascii': 0.37; 'things': 0.38; 'mailing': 0.38; 'where': 0.40; 'some': 0.40; 'your': 0.60; 'address': 0.61; 'more': 0.63; 'repeat': 0.67; 'apart': 0.70; 'jul': 0.72; 'forced': 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: <20160730103937.6b993ad5@imp> X-Mailman-Original-References: <5792cd34$0$1587$c3e8da3$5496439d@news.astraweb.com> <87vazwppxx.fsf@elektro.pacujo.net> <579B1ABB.1070500@rece.vub.ac.be> <579c2095$0$22142$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:112072 On Sat, 30 Jul 2016 11:15:12 +0100 BartC wrote: >> Doesn't it look like there's something missing in the Python? Both > the 'fi' or 'end', and the possibility of an 'h' statement. > > Note the Algol68-style style is more free-format where indents are > not significant. > > Anyway, if you're going to talk about annoying things forced upon you > by the language, what about: > > ":" after "else" > > "()" in "def fn():" > > "()" in "print (x)" for Python 3 > > "for i in range(N):" just to repeat a block N times... > > That's apart from the obligatory indents which, with an > 'end'-delimited scheme, are not always necessary. Has it occurred to you (as it has occurred to some of us) that Python just isn't your language? By the way, the last time I replied to you it went to the list but your address bounced. Was that a glitch or are you using an invalid address in a mailing list? -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy@Vex.Net VoIP: sip:darcy@Vex.Net