] > Re: [Python-projects] pylint warning (Logilab.org)

Email Re: [Python-projects] pylint warning

from
to
Juergen Hermann <jhe at web dot de>
subject
Re: [Python-projects] pylint warning
date
2004/01/07 12:18
On Wednesday 07 January à 12:07, Juergen Hermann wrote:
> Hi!

Hi Juergen !

> What is "W:256:main: Use builtin function 'filter'" supposed to mean? 
> In the current form, it's an imperative to use the functional forms, 
> but I suspect you mean it to be a warning regarding their deprecation.

Yep. Actually this is not bound to deprecation but to the arbitrary list
of functions listed in the "bad-functions" configuration variables, and
by default, this variable is set to the deprecated builtins.

> Which in turn means it should read

> W:256:main: Used builtin function 'filter'

for the reason explained below, I prefer that one. Fixed in the CVS.

> (Used vs. Use) or even better

> W:256:main: Used deprecated builtin function 'filter'

regards
-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects


is a reply to