Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108325
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Christopher Reimer <christopher_reimer@icloud.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Pylint prefers list comprehension over filter... |
| Date | Sat, 07 May 2016 20:22:58 -0700 |
| Lines | 19 |
| Message-ID | <mailman.495.1462677782.32212.python-list@python.org> (permalink) |
| References | <572BF2BF.6000000@icloud.com> <1462498631.232041.599637409.25D91C08@webmail.messagingengine.com> <572E3F53.5010703@icloud.com> <ngm5em$jnn$1@ger.gmane.org> <572EB112.1000606@icloud.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de gCDBjXhBwH7NhWHofmctPAlKxlr2JpoYCU+L0OayVZ5Q== |
| Return-Path | <christopher_reimer@icloud.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'guido': 0.05; 'subject:skip:c 10': 0.07; 'obligated': 0.09; 'developers,': 0.10; '"using': 0.16; 'happy.': 0.16; 'python."': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'disclaimer': 0.22; 'code.': 0.23; 'header:User- Agent:1': 0.26; 'developers': 0.26; 'subject:list': 0.26; 'chris': 0.26; 'least': 0.27; 'received:17': 0.27; 'subset': 0.29; 'themselves': 0.29; "i'm": 0.30; 'code': 0.30; 'checks': 0.30; 'core': 0.32; 'received:10.0.0': 0.32; 'picking': 0.33; 'purposes,': 0.33; 'received:10.0': 0.34; 'add': 0.34; 'list': 0.34; 'filter': 0.35; 'should': 0.36; "wasn't": 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'thank': 0.38; 'to:addr:python.org': 0.40; 'header:MIME-version:1': 0.60; 'your': 0.60; 'default': 0.61; 'charset:windows-1252': 0.62; 'header:In-reply-to:1': 0.84; 'subject:over': 0.84 |
| X-Proofpoint-Virus-Version | vendor=fsecure engine=2.50.10432:,, definitions=2016-05-08_01:,, signatures=0 |
| X-Proofpoint-Spam-Details | rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1605080044 |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 |
| In-reply-to | <ngm5em$jnn$1@ger.gmane.org> |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; t=1462677779; bh=7aBLQmqoGFMXl73UDVS796r9uktxjv4l7qNocn7xKSY=; h=Subject:To:From:Message-id:Date:MIME-version:Content-type; b=aQSQERNMlT9ycZPZTuJCQxgoJke9L/K2TEe5s0q1MmkAtpUcVcJcHCUabCVsY5gHC G8vLob9sjXbJyX3XuvwnlaFJbGF8jKbCB9JzLh/xvntO7h1mGUfdi3oPfc1A5pJF3T msIxLP/0QzZlYp4d0sj6ffwfpkCxv8Tpg2Ud49xgMsd38S9t7W4JzPxs3Zp13pJ6DW HcE3fOAVeFj0FAvOEpWQ3hAa5lzdOQzQZroPD0p+gN1SQZb5cg4jOHVrSVi/dsx4wy wKOF9aGOpw+eFmKM2011STMWECHe9KjRXz3v3YwyDlHRa2wPg+xqfaUIHUXSAFQXiR rf3OiX2OwdUuQ== |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <572EB112.1000606@icloud.com> |
| X-Mailman-Original-References | <572BF2BF.6000000@icloud.com> <1462498631.232041.599637409.25D91C08@webmail.messagingengine.com> <572E3F53.5010703@icloud.com> <ngm5em$jnn$1@ger.gmane.org> |
| Xref | csiph.com comp.lang.python:108325 |
Show key headers only | View raw
On 5/7/2016 6:40 PM, Terry Reedy wrote: > 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." I wasn't aware that I was picking sides in a religious war by altering one line of code. O_o Thank you, Chris R.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Pylint prefers list comprehension over filter... Christopher Reimer <christopher_reimer@icloud.com> - 2016-05-07 20:22 -0700
csiph-web