Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.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.043 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'enough.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'oct': 0.16; 'readable': 0.16; 'wrote:': 0.17; 'skip:u 30': 0.17; 'thu,': 0.17; 'code.': 0.20; 'header:In-Reply-To:1': 0.25; 'message- id:@mail.gmail.com': 0.27; 'indentation': 0.29; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'skip:m 40': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'skip:l 20': 0.38; 'to:addr:python.org': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'different': 0.63; 'levels': 0.66 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:to :content-type; bh=aPJEV7cDgJ0gPlXQ8MtdVA6Bh9o+eo8gCm+D9gO/voI=; b=KxytXDi43Dfq8ExwVagQJ0h0Kv6KxcwMS8+JCkZ+A0PTIF1q1dCY/fMCH667fJq7Ul DVGuu8gVvvVM7hJZb25mdTc61+EvtO4Uw7aB4KkJL8YbtkRYGNBe+bTgymbI9JoHW1FL iqE/qi0yl9ZpFo77XD4+wCNb+pHNtRA1z0YQPY6M2xGcCTJjBe+aMwcmbEsdtEd7+1oY qZQ3xW37DzlQ5kUnNR96Jy45nFeZz1Qv5iH9RYlkHygj5UntQ8EbBQ9lD0l+AwCfeIlQ RrpMNBf/HNjLTVJP6RMoHEWLyZClAcM4Qr2tLHfq23Z8w+v3mYPAMTIldqYFEoER187j qo4A== MIME-Version: 1.0 In-Reply-To: <507fc6b4$0$6861$e4fe514c@news2.news.xs4all.nl> References: <507fa256$0$11093$c3e8da3@news.astraweb.com> <507fc6b4$0$6861$e4fe514c@news2.news.xs4all.nl> Date: Thu, 18 Oct 2012 21:01:11 +1100 Subject: Re: A desperate lunge for on-topic-ness From: Chris Angelico To: python-list@python.org 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350554474 news.xs4all.nl 6918 [2001:888:2000:d::a6]:51293 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31619 On Thu, Oct 18, 2012 at 8:07 PM, Hans Mulder wrote: > > if looks_like_it_might_be_spam( > some_longer_variables, > here_and_here, and_here_also): > logger.notice("might be spam") > move_to_spam_folder(some_longer_variables) > update_spam_statistics(here_and_here) > This wants different indentation levels for the condition and the code. That'd make it readable enough. ChrisA