Pylint prefers list comprehension over filter...

Claudiu Popa pcmanticore at gmail.com
Tue May 10 09:51:28 EDT 2016


On Sunday, May 8, 2016 at 4:41:02 AM UTC+3, 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."
> 
> -- 
> Terry Jan Reedy

Hi,

Thank you for letting us know. While pylint is indeed
opinionated in some cases, we're not trying to be
"arrogant", as you put it, towards Guido or the other core
developers. What's sad in this particular case is that the
feedback had to come in rather a harsh manner, on this group,
instead of being reported as a bug or an enhancement on pylint's
bug tracker.
Anyway, I wanted to tell you that I agree with your opinion
regarding that message and as such, it is removed and won't be
emitted anymore in the next release (1.6)

Thank you.



More information about the Python-list mailing list