Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Mark Lawrence Newsgroups: comp.lang.python Subject: Re: Continuing indentation Date: Fri, 4 Mar 2016 23:45:07 +0000 Lines: 34 Message-ID: References: <8760x4bo5h.fsf@elektro.pacujo.net> <871t7sbkex.fsf@elektro.pacujo.net> <87vb53se36.fsf@elektro.pacujo.net> <56d8d33d$0$1585$c3e8da3$5496439d@news.astraweb.com> <56D8DF99.6070808@lucidity.plus.com> <56d905a7$0$1605$c3e8da3$5496439d@news.astraweb.com> <56DA1ADF.2090109@lucidity.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de BLyqSF8MHiS2zaOB5rVmCQeKwRAZwTQYDgpl59KXoJmw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'correct.': 0.07; 'defines': 0.07; 'consistency.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'stating': 0.09; 'wrong,': 0.09; 'erik': 0.16; 'pep8': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'language': 0.19; "aren't": 0.22; 'lawrence': 0.22; 'decide': 0.23; 'examples': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'function': 0.28; 'looks': 0.29; 'consistency': 0.29; 'fighting': 0.29; 'language.': 0.32; 'important.': 0.35; 'something': 0.35; 'sometimes': 0.35; 'too': 0.36; 'project': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'guys': 0.38; 'wrong': 0.38; 'format': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'your': 0.60; 'email addr:gmail.com': 0.62; 'here.': 0.62; 'charset:windows-1252': 0.62; 'more': 0.63; 'within': 0.64; 'our': 0.64; 'hesitate': 0.71; 'applicable.': 0.84; 'pythonistas,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: 80.234.129.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <56DA1ADF.2090109@lucidity.plus.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:104062 On 04/03/2016 23:31, Erik wrote: > On 04/03/16 21:14, sohcahtoa82@gmail.com wrote: >> You guys are spending way too much time fighting over something that >> is clearly subjective. Nobody is "correct" here. There's no right >> and wrong, just simple preference. > > I will take that as a vote +1 that PEP8 is wrong (*). ;) > > E. > > (*) PEP8 defines a specific format and you are stating that no specific > format can be considered correct. > PEP8 is not a standard that must be adhered to under all cicumstances, it is only a style guide, hence:- A style guide is about consistency. Consistency with this style guide is important. Consistency within a project is more important. Consistency within one module or function is the most important. However, know when to be inconsistent -- sometimes style guide recommendations just aren't applicable. When in doubt, use your best judgment. Look at other examples and decide what looks best. And don't hesitate to ask! -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence