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

Curtis Hovey curtis at hovey.name
Mon Feb 4 22:33:54 CET 2008


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).

-- 

__C U R T I S  C.  H O V E Y___________
No matter where you go...there you are.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylintall.py
Type: text/x-python
Size: 382 bytes
Desc: not available
Url : http://lists.logilab.org/pipermail/python-projects/attachments/20080204/2157dcec/attachment.py 


More information about the Python-Projects mailing list