Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.089 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.02; 'correct.': 0.07; 'ambiguity': 0.09; 'assuming': 0.09; 'spaces': 0.09; 'python': 0.11; 'tab': 0.16; 'wrote:': 0.18; 'resolved': 0.19; 'equivalent': 0.26; 'header:In-Reply-To:1': 0.27; 'characters': 0.30; 'message- id:@mail.gmail.com': 0.30; 'subject:all': 0.32; 'fri,': 0.33; 'received:209.85': 0.35; 'received:google.com': 0.35; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; '(from': 0.39; 'to:addr:python.org': 0.39; 'ian': 0.60; 'simply': 0.61; 'such': 0.63; 'total': 0.65; 'fact,': 0.69; 'eight': 0.74; 'subject:you': 0.87; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=5eitAqzl0ImAXXKN/HlL9+2jXb15BgrIEM8mFo27bA0=; b=aQFgh8BnljK2N1wwxQKukBUeWCSKywxg0FWJHizuQ87hbsSIuesIqVW5YfeC5B43v6 L0b5LiwKAIzBfUZrsiW7FNVpzQVWTKi8oCxw+6Mytx1arQdtpRRv+7jE+H7hK7LoduW6 xmvsjJZ2+nS0lUB4xfMgpEZAj0ev6WWWZEnF7IP4J9raAjUU2lsJtoT2cM0/e/dsvRsF ljUq+gwIgt+VVNwCV+1l2/tnvt5arS1X3KJrkDNwMqvQ2o8sZmRkICxSLE1GOKFb66Hm CEO6xrSmMiOeyJe9u/K/+28Qq7iCFUvdAAj6jW639p7WYFskec0Kazbu5LBerWGXo5iW Pm5w== X-Received: by 10.68.180.162 with SMTP id dp2mr16552041pbc.214.1365202863694; Fri, 05 Apr 2013 16:01:03 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <64d4fb7c-6a75-4b5f-b5c8-06a4b2b5d0cb@googlegroups.com> <906d8c05-99dc-4209-854c-7988ca7c78e3@googlegroups.com> From: Ian Kelly Date: Fri, 5 Apr 2013 17:00:23 -0600 Subject: Re: I hate you all To: Python Content-Type: text/plain; charset=ISO-8859-1 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365202871 news.xs4all.nl 6952 [2001:888:2000:d::a6]:56388 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42862 On Fri, Apr 5, 2013 at 4:42 PM, Ian Kelly wrote: > Python 2 resolved this ambiguity by assuming that a hard tab was > simply equivalent to four or eight spaces (I don't remember which). In fact, neither is correct. Per the docs: ...tabs are replaced (from left to right) by one to eight spaces such that the total number of characters up to and including the replacement is a multiple of eight...