Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'fixes': 0.07; 'preference': 0.07; 'expected.': 0.09; 'latter': 0.09; 'lawrence': 0.09; 'mixed': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'run,': 0.09; 'spaces': 0.09; 'warn': 0.09; 'worse': 0.09; 'runs': 0.10; 'language.': 0.14; 'mostly': 0.14; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'tabs': 0.16; 'language': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'adds': 0.24; 'align': 0.24; '---': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; 'am,': 0.29; 'code': 0.31; 'lines': 0.31; 'seemingly': 0.31; 'run': 0.32; 'another': 0.32; 'bugs': 0.33; 'style': 0.33; 'screen': 0.34; 'but': 0.35; 'acceptable': 0.36; 'should': 0.36; 'two': 0.37; 'writes': 0.38; 'to:addr:python- list': 0.38; 'does': 0.39; 'bad': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'free': 0.61; 'viruses': 0.61; "you'll": 0.62; 'protection': 0.63; 'personal': 0.63; 'such': 0.63; 'our': 0.64; 'more': 0.64; 'believe': 0.68; 'antivirus': 0.68; 'hard.': 0.84; 'edwards': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: PEP8 and 4 spaces Date: Sat, 05 Jul 2014 23:50:14 +0100 References: <877g3tdvid.fsf@elektro.pacujo.net> <53B87624.7060806@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-18-5-57.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <53B87624.7060806@gmail.com> X-Antivirus: avast! (VPS 140705-1, 05/07/2014), Outbound message X-Antivirus-Status: Clean 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: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1404600605 news.xs4all.nl 2836 [2001:888:2000:d::a6]:40141 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73999 On 05/07/2014 23:03, Michael Torrie wrote: > On 07/04/2014 08:54 AM, Marko Rauhamaa wrote: >> Grant Edwards : >> >>> Definitely. Indenting with tabs vs. spaces is mostly personal >>> preference (though spaces are better!). But, mixing the two is right >>> out, and should be stomped on hard. >> >> Often one person writes the code and another person fixes bugs in it or >> adds features to it. So if one uses tabs and the other refrains from >> using them, you'll get the mixed style you abhor. >> >> Even if we accepted that to be bad style, there's nothing on the screen >> that would warn against such usage: the lines seemingly align perfectly, >> and the code runs as expected. > > Or more likely the lines seemingly align perfectly and the code does not > compile and run, or worse it does run but does not do the right thing. > Some commentators lead me to believe that the latter is perfectly acceptable so long as the code runs quickly. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com