Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.031 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:PEP': 0.07; '#define': 0.09; 'ascii': 0.09; 'received:67.192': 0.09; 'received:67.192.241': 0.09; 'received:dfw.emailsrvr.com': 0.09; 'to)': 0.09; 'accepts': 0.16; 'limit.': 0.16; 'readability': 0.16; 'so.': 0.16; 'language': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'example': 0.22; 'header:User-Agent:1': 0.23; 'received:emailsrvr.com': 0.24; 'received:(smtp server)': 0.26; 'subject: : ': 0.26; 'van': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'character': 0.29; 'characters': 0.30; 'lines': 0.31; '13,': 0.31; 'gary': 0.31; 'older': 0.33; 'skip:m 40': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'days': 0.60; 'even': 0.60; 'length': 0.61; 'first': 0.61; 'maximum': 0.63; 'cards': 0.65; 'limit': 0.70; 'attention': 0.75; 'article': 0.77; 'exceeding': 0.84; 'skip:s 80': 0.84; 'albert': 0.91; 'careful': 0.91 X-Virus-Scanned: OK Date: Wed, 14 May 2014 17:15:06 -0700 From: Gary Herron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: PEP 8 : Maximum line Length : References: <5373f400$0$24922$e4fe514c@dreader36.news.xs4all.nl> In-Reply-To: <5373f400$0$24922$e4fe514c@dreader36.news.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1400113302 news.xs4all.nl 2862 [2001:888:2000:d::a6]:37002 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71582 On 05/14/2014 03:53 PM, Albert van der Horst wrote: > In article , > Rustom Mody wrote: >> On Tuesday, May 13, 2014 12:37:24 PM UTC+5:30, Ganesh Pal wrote: >>> Hi Team , >>> >>> >>> what would be the best way to intent the below line . >>> >>> I have few lines in my program exceeding the allowed maximum line >> Length of 79./80 characters >>> >>> Example 1 : >>> >>> >>> p = >> Subprocess.Popen(shlex.split(cmd),stdout=subprocess.PIPE,stderr=subprocess.PIPE) >> >> >> First rule of python-list: Pay careful attention to Peter Otten. >> >> That said... >> >> 80-character limit?! >> >> Sheesh! A relic of the days when terminals were ASCII and 80x24 Which is a relic of the even older punch cards which contained one line of (up to) 80 characters. Gary Herron > 80 character was the hard limit. > The soft limit for readability is 60..65 characters. > Think about it. > > Just that a language accepts > #define MASK_SEPIA_INTERNAL_BLEEDING_WASHINGTON_DC_BLACK 0x147800fa > means that it is a good idea to do so. > > Groetjes Albert