[Python-projects] E0602 False Negative ("print __dict__ is not None")
Nathaniel Manista
nathaniel at google.com
Mon Jan 12 23:22:46 CET 2009
Hello all-
This is fairly trivial, but I couldn't find it currently tracked in the
issue tracker. As the subject line indicates, the undefined-variable checker
fails if the undefined variable is __dict__. I don't think anyone in their
right mind would program that way, but that doesn't mean the check should
fail.
I've attached a simple example that lints completely cleanly (against a
recently-checked-out pylint) that when run generates a NameError.
-Nathaniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.logilab.org/pipermail/python-projects/attachments/20090112/500bc165/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: E0602FalseNegative.py
Type: text/x-python
Size: 72 bytes
Desc: not available
Url : http://lists.logilab.org/pipermail/python-projects/attachments/20090112/500bc165/attachment.py
More information about the Python-Projects
mailing list