Pylint prefers list comprehension over filter...

Christopher Reimer christopher_reimer at icloud.com
Sat May 7 23:22:58 EDT 2016


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.



More information about the Python-list mailing list