[Python-projects] Problem with Pylint's handling on __all__

Sylvain Thénault sylvain.thenault at logilab.fr
Thu Feb 7 10:11:41 CET 2008


On Mon, Feb 04, 2008 at 04:33:54PM -0500, Curtis Hovey wrote:
> I'm seeing two surprising examples of warning and missing warnings
> related to Pylint's interpretation of __all__. When linting the example
> attached module:
> 
> I expect to see an error that NonExistant is undefined in pylintall.
> 
> The path symbol is 'reexported' in __all__, so I don't think a warning
> should be raised (14: [W0611] Unused import path).

added to the tracker: https://www.logilab.net/elo/ticket/4685
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science



More information about the Python-Projects mailing list