Hello

With the following demonstration code, pylint 0.20 warns about an
“Unused import distutils” for “import distutils.command.build”. We're
also seeing this in real code, see [1]. Is this a bug?

------------------------------------------------
#!/usr/bin/python2.4
from distutils import version
from distutils import command
import distutils.command.build
print version.Version, command.build.show_compilers
------------------------------------------------

$ pylint --version
pylint 0.20.0,
astng 0.20.0, common 0.49.0

Thanks,
Michael

[1] 
http://git.ganeti.org/?p=ganeti.git;a=blob;f=lib/rpc.py;h=b99b49e48568c92ef58cfa612af306c68a67266f;hb=HEAD#l45
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to