Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail 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:Python': 0.05; 'from:addr:yahoo.co.uk': 0.05; 'convention,': 0.09; 'pixels': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tab': 0.09; 'python': 0.10; 'python.': 0.11; 'personally,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'tabs': 0.16; 'unusable.': 0.16; 'wrote:': 0.16; 'runs': 0.18; 'language': 0.19; 'either.': 0.22; 'lawrence': 0.22; 'programming': 0.22; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'chris': 0.26; 'idea': 0.28; 'actual': 0.28; 'indentation': 0.29; 'novel': 0.29; 'spaces': 0.29; 'certainly': 0.30; 'skip:_ 10': 0.32; 'language.': 0.32; 'run': 0.33; 'url:python': 0.33; 'raised': 0.33; 'shift': 0.33; 'but': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'visual': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'done.': 0.37; "won't": 0.38; 'enough': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'some': 0.40; 'url:3': 0.60; 'your': 0.60; 'charset:windows-1252': 0.62; 'course': 0.62; 'our': 0.64; 'bothered': 0.66; 'choose': 0.68; 'won': 0.76; 'pythonistas,': 0.84; 'careful': 0.91; 'preferred,': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Python handles globals badly. Date: Sat, 12 Sep 2015 03:43:37 +0100 References: <87h9n1o9q4.fsf@elektro.pacujo.net> <878u8do7u2.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 195.147.66.69 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: <878u8do7u2.fsf@elektro.pacujo.net> 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442025833 news.xs4all.nl 23851 [2001:888:2000:d::a6]:42506 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96383 On 11/09/2015 06:15, Marko Rauhamaa wrote: > Chris Angelico : > >> Personally, I like to use tab characters for indentation. You can >> choose how many pixels or ems or ens or spaces the actual visual shift >> is, and if I disagree with your choice, it won't affect anything. As >> long as tabs are used _exclusively_, Python won't be bothered by it >> either. > > Your preferred, novel usage of TABs, which runs counter to the age-old > programming convention, has won enough supporters to make TABs unusable. > > No harm done. TABs have been banished. They were a bad idea in the first > place. > > Marko > TABs might have been banished from some places, but certainly not Python. Of course you have to be careful or you run into problems with this:- TabError - Raised when indentation contains an inconsistent use of tabs and spaces. https://docs.python.org/3/library/exceptions.html#TabError -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence