Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'args': 0.04; 'worse': 0.09; 'cc:addr:python-list': 0.10; 'received:74.125.82.44': 0.15; '"well,': 0.16; 'pep8': 0.16; 'shorten': 0.16; 'variable': 0.20; 'trying': 0.21; 'not,': 0.21; 'cc:2**0': 0.23; 'seems': 0.23; 'project,': 0.24; 'cc:no real name:2**0': 0.24; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'this.': 0.29; "i'm": 0.29; 'usually': 0.30; 'function': 0.30; 'sense': 0.31; 'code': 0.31; 'generally': 0.32; 'received:74.125.82': 0.33; 'shorter': 0.33; '(with': 0.33; 'that,': 0.34; "can't": 0.34; 'agree': 0.34; 'received:google.com': 0.34; 'minimum': 0.34; 'next': 0.35; 'received:74.125': 0.36; 'characters': 0.36; 'depends': 0.36; "didn't": 0.36; "i'll": 0.36; 'subject:: ': 0.38; 'nothing': 0.38; 'subject:-': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'kind': 0.61; 'necessarily': 0.63; 'times': 0.63; 'more': 0.63; 'fit.': 0.65; 'feet': 0.96 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 :cc:content-type; bh=cn0d6IC1oYvKVlAj5O+K7JulN7Xg/ORxTvPhRdAC4vk=; b=szriWwOtI5x0sMD05I7mRvJZ1R+bEpsMfcR4A8WcyIKPOnQcHRB6IumLrJdvyAzhIY fkxChQ7sGFRBYf3ddJjTH6HMCpWx9XFUQJBeJCLX+qMihUg9fTIgyWP6RzbN1jQSIKxr nTNSsF5vC9crS0TtBVTfkI6h0xENT4reNniwM7xTEx+nbR5keJp/v35dbGaG0XxcxXml UoRecv7HoneJA10BmgbPc9p3MxHhRf5Uo3U2RURBED47DdYXxTI7QWwAmfFhpHl0CDT8 5oGzoLzQEnKD6SIBWvtiOSGp8hE/KvVMGHou63X32u9jT+2yhGvczVbWkU3qIxvmzPYu 3lVg== MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 17 Oct 2012 23:52:53 -0700 Subject: Re: A desperate lunge for on-topic-ness From: Demian Brecht To: Zero Piraeus 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: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350543182 news.xs4all.nl 6945 [2001:888:2000:d::a6]:55023 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31599 > 3. Say "well, at least it's not a backslash" and break the line using > parentheses. This. More times than not, there's a function call in that line, which makes sense to me when reading it if the args are on the next line. > 4. Spend 45 minutes trying to think up shorter [but still sensible] > variable names to make it fit. I generally can't shorten my variable names without breaking the minimum length PEP8 rule ;) Now having said that, it kind of depends on the code base I'm working with. If it's my own project, I never go past 79 characters (vim tw=79). However, if it's a code base that I didn't start and it seems to consistently go past 79 characters, I'll usually follow suit (with my feet dragging of course). Nothing worse than inconsistency, even if it's a standard I don't necessarily agree with :P