Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:not': 0.03; 'expectation': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Why': 0.09; 'python': 0.11; 'jan': 0.12; 'thread': 0.14; 'finney': 0.16; 'imposible': 0.16; 'programmers,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:class': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'code,': 0.22; 'header:User-Agent:1': 0.23; 'space.': 0.24; 'text,': 0.24; 'text.': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'generally': 0.29; 'especially': 0.30; 'code': 0.31; 'posting': 0.31; 'that.': 0.31; 'commonly': 0.31; 'indentation': 0.31; 'quotes': 0.31; 'writes:': 0.31; 'know.': 0.32; 'run': 0.32; 'everyone': 0.33; 'plain': 0.33; 'subject:the': 0.34; 'editor': 0.35; 'there': 0.35; 'idle': 0.36; 'subject:?': 0.36; 'should': 0.36; 'level': 0.37; 'ben': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'that,': 0.38; 'expect': 0.39; 'received:71': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'most': 0.60; 'forum': 0.61; 'first': 0.61; 'here': 0.66; 'capable': 0.67; 'miss': 0.74; 'hand': 0.80; 'ambiguous': 0.84; 'received:fios.verizon.net': 0.84; 'cutting': 0.91; 'hand,': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Why can not initialize the class? Date: Fri, 22 Aug 2014 23:46:26 -0400 References: <53F752FA.8080902@gmail.com> <85bnrcyuhc.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-71-175-90-87.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <85bnrcyuhc.fsf@benfinney.id.au> 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: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408765638 news.xs4all.nl 2843 [2001:888:2000:d::a6]:34455 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76837 On 8/22/2014 7:28 PM, Ben Finney wrote: > Terry Reedy writes: > >> By posting code with an extra indent, you make it imposible to run by >> just cutting and pasting. You should already know that. > > I commonly do that, It is unnecessary and extra work on both ends. It is also ambiguous in that there may be a missing unindented line. > as I do with most block quotes in plain text. Code is not text, especially not python code. Indents do not change the meaning of text. > I think it's a reasonable expectation that programmers, reading a > forum about program code, will have at hand a programmer's editor > capable of stripping a level of indentation from a block of code. Well yes, people here generally have Idle at hand, which can do it easily. However, it is unreasonable (and counterfactual -- see other thread today) to expect everyone to know that, or remember if they ever did know. It also requires that one get *all* the indentation and not miss the first space. -- Terry Jan Reedy