Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed5.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.025 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'to:addr:comp.lang.python': 0.09; 'url:googlecode': 0.09; 'cc:addr:python-list': 0.10; 'slightly': 0.15; '"well,': 0.16; 'cheers!': 0.16; 'pep8': 0.16; 'url:svn': 0.16; 'wrote:': 0.17; 'preferred': 0.20; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'lines': 0.28; "people's": 0.29; 'probably': 0.29; 'thursday,': 0.30; 'zero': 0.33; 'received:google.com': 0.34; 'so,': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'but': 0.36; 'october': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'subject:-': 0.40; 'think': 0.40; 'first': 0.61; 'strategies': 0.76; 'it"': 0.84; 'nice,': 0.84 Newsgroups: comp.lang.python Date: Fri, 19 Oct 2012 15:16:53 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2620:ae:0:2133:f439:2ee4:4bd:fa8f; posting-account=Ps_FOAoAAABikBlK6EsBuB57oFjzzx2u References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 2620:ae:0:2133:f439:2ee4:4bd:fa8f MIME-Version: 1.0 Subject: Re: A desperate lunge for on-topic-ness From: Krzysztof Voss To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org 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: , Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350685022 news.xs4all.nl 6924 [2001:888:2000:d::a6]:37523 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31779 On Thursday, October 18, 2012 12:06:43 AM UTC-6, Zero Piraeus wrote: > : > > > > Okay, so, first thing vaguely Python-related that comes to mind [so > > probably not even slightly original, but then that's not really the > > point]: > > > > What are people's preferred strategies for dealing with lines that go > > over 79 characters? A few I can think of off the bat: > > > > 1. Say "screw it" and go past 79, PEP8 be damned. > Once you ":set cc=79", you never want to cross it. > > > 2. Say "screw it" and break the line using a backslash. > > > > 3. Say "well, at least it's not a backslash" and break the line using > > parentheses. > > Some nice, IMHO, tips on the style can be found in: http://google-styleguide.googlecode.com/svn/trunk/pyguide.html#Line_length Cheers!