Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '(at': 0.04; 'output': 0.05; 'diff': 0.07; 'extent': 0.07; 'cc:addr:python-list': 0.11; 'bytes).': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'simplest': 0.16; 'tabs': 0.16; 'tradition': 0.16; 'tty': 0.16; 'ignore': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'certainly': 0.24; 'interpret': 0.24; 'text.': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'rest': 0.29; 'character': 0.29; 'unix': 0.29; 'characters': 0.30; 'message-id:@mail.gmail.com': 0.30; 'gcc': 0.31; 'beginning': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; 'even': 0.60; 'simply': 0.61; 'such': 0.63; 'jul': 0.74; 'treating': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=i3fIMnc+s1hXSfC5gPXQkKMH+9O49W2jbhWejCIm89Q=; b=DcILX32SeUIPnZW+R60hWJbhR4Q9S2MYaOZ7FVQ+vMPrW5XE6qf8M9GzQsJx1E9ElH cVnTPgrQLC8JOLHKY79xNfvXQOCun4JgkqnZAV071r4Qb5L+HUrTps7a32WmloaaXKzz qmk2yuvNAm3Xb+p3zFItlXQhM298mdW3S0h3qxHnXg7fA/y24JueWYKlivpDtqRrOEtd JBTnHYb4uWGbQAu6vC+ceNCvSY/DwNcGkuF3pEOstHuvNH2tFdT5gmmlXeYQ7DkhB5Ci dWhRDLTTCkms34j+kuOMzTdJiAVwhKUnLZCbihTj5ryOODBmRO8B5MwcgGuR8jxsqCdE 7VzA== MIME-Version: 1.0 X-Received: by 10.58.49.98 with SMTP id t2mr18053684ven.29.1404815301340; Tue, 08 Jul 2014 03:28:21 -0700 (PDT) In-Reply-To: <87a98kgqsm.fsf@elektro.pacujo.net> References: <53B59358.2040404@tobiah.org> <53bbb047$0$2926$c3e8da3$76491128@news.astraweb.com> <87a98kgqsm.fsf@elektro.pacujo.net> Date: Tue, 8 Jul 2014 20:28:21 +1000 Subject: Re: PEP8 and 4 spaces From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1404815310 news.xs4all.nl 2944 [2001:888:2000:d::a6]:52635 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74160 On Tue, Jul 8, 2014 at 7:09 PM, Marko Rauhamaa wrote: > The unix tradition is to let the TTY interpret the TABs. Utilities such > as "ed", "cat", "diff" or "gcc" don't interpret or process TABs in any > way but simply output them together with the rest of the text. Not quite; tools like diff that put a character at the beginning of the line are likely to be tab-aware, and gcc is certainly going to comprehend them (at least to the extent of treating them as whitespace). And I think less takes notice of them, too, so it's only the very simplest tools like cat that actually ignore them or treat them as single characters (or even bytes). ChrisA