Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'talks': 0.03; 'subject:Python': 0.06; 'agree,': 0.09; 'fixme:': 0.09; '-tkc': 0.16; 'drooling': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'sure.': 0.16; 'comment:': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'written': 0.21; "shouldn't": 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'fixed': 0.29; "i'm": 0.30; 'code': 0.31; 'that.': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'computer.': 0.33; 'subject: (': 0.35; 'but': 0.35; 'there': 0.35; 'charset:us- ascii': 0.36; 'should': 0.36; 'subject:New': 0.37; 'wrong': 0.37; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'little': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'easy': 0.60; 'times': 0.62; 'fire': 0.65; 'glad': 0.83; 'fortunately,': 0.84; 'moron': 0.84; 'optimized.': 0.84; 'tapes': 0.84; 'mistake': 0.91 X-Sender-Id: wwwh|x-authuser|tim@thechases.com X-Sender-Id: wwwh|x-authuser|tim@thechases.com X-MC-Relay: Neutral X-MailChannels-SenderId: wwwh|x-authuser|tim@thechases.com X-MailChannels-Auth-Id: wwwh X-MC-Loop-Signature: 1429206487668:2032033914 X-MC-Ingress-Time: 1429206487668 Date: Thu, 16 Apr 2015 12:49:05 -0500 From: Tim Chase To: python-list@python.org Subject: Re: New to Python - block grouping (spaces) In-Reply-To: <552fecea$0$13006$c3e8da3$5496439d@news.astraweb.com> References: <9fc57fc9-0399-4ff3-882a-d041f02827d8@googlegroups.com> <552f4d67$0$2907$c3e8da3$76491128@news.astraweb.com> <552fecea$0$13006$c3e8da3$5496439d@news.astraweb.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Importance: low X-Priority: 5 (Lowest) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: tim@thechases.com X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1429206966 news.xs4all.nl 2876 [2001:888:2000:d::a6]:37454 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89042 On 2015-04-17 03:10, Steven D'Aprano wrote: > And there there was the time I edited some code written by my boss. > I intended to write a comment: > > # FIXME: this function is a little slow and should be optimized. > > but I hit the wrong key a couple of times and wrote: > > # This is a steaming pile of guano written by a drooling > # moron who shouldn't be allowed near a computer. It needs > # to be deleted with prejudice, and the hard drive and all > # backup tapes set on fire just to be sure. > > As I'm sure you will agree, it is an easy mistake to make. Phew, glad I'm not the only one to do that. Fortunately, I had one of those code-reformatters the OP talks about, and it fixed the mistake for me. :-) -tkc