Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: Pylint prefers list comprehension over filter... Date: Sat, 7 May 2016 21:40:36 -0400 Lines: 15 Message-ID: References: <572BF2BF.6000000@icloud.com> <1462498631.232041.599637409.25D91C08@webmail.messagingengine.com> <572E3F53.5010703@icloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 05lXa+cPtZwmUCYAJPyNiQXFmOHCsuSI2BWs3qQzZsUQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'guido': 0.05; 'subject:skip:c 10': 0.07; 'obligated': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'developers,': 0.10; 'jan': 0.11; '"using': 0.16; 'happy.': 0.16; 'python."': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'disclaimer': 0.22; 'header:In- Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'developers': 0.26; 'subject:list': 0.26; 'header:X-Complaints-To:1': 0.26; 'least': 0.27; 'subset': 0.29; 'themselves': 0.29; "i'm": 0.30; 'code': 0.30; 'checks': 0.30; 'core': 0.32; 'purposes,': 0.33; 'add': 0.34; 'list': 0.34; 'filter': 0.35; 'should': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'to:addr:python.org': 0.40; 'your': 0.60; 'default': 0.61; 'received:96': 0.63; 'subject:over': 0.84; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-96-227-207-81.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: <572E3F53.5010703@icloud.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <572BF2BF.6000000@icloud.com> <1462498631.232041.599637409.25D91C08@webmail.messagingengine.com> <572E3F53.5010703@icloud.com> Xref: csiph.com comp.lang.python:108315 On 5/7/2016 3:17 PM, Christopher Reimer wrote: > For my purposes, I'm using the list comprehension over filter to keep > pylint happy. How sad. The pylint developers arrogantly take it on themselves to revise Python, against the wishes of Guido and the other core developers, and you and feel obligated to follow them. They should at least add a disclaimer "Using the default options, pylint checks that your code complies with the pylint-approved subset of Python." -- Terry Jan Reedy