] > Re: [Python-projects] Pylint complaining of string module prevents use of variables like string.printable (Logilab.org)

Email Re: [Python-projects] Pylint complaining of string module prevents use of variables like string.printable

from
subject
Re: [Python-projects] Pylint complaining of string module prevents use of variables like string.printable
date
2005/10/26 23:08
Bonjour,

On Wed, Oct 26, 2005 at 04:47:46PM -0400, Pierre_Rouleau@ImpathNetworks.com wrote:
> Pylint (all recent versions including 0.8) complains about the import of the
> string module with W0402 warning, stating that it is obsolete.
> ...

That is the issue number 1192 in our tracker. We are working on
putting this tracker online so that everyone can look at it. The last
comment about this issue says that it is difficult to solve without
making a special case for string in the test function.

I suppose that if someone can offer some code that implements the
change (in a generic way if possible, so that other deprecation
warnings of the same type can be added) it will quickly make its way
into the next release.

-- 
Nicolas Chauvat

logilab.fr - services en informatique avancée et gestion de connaissances  
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects