pylint #6949 E0602 False Negative ("print __dict__ is not None") [resolved]

Nathaniel Manista:

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.

"""This should not lint cleanly, but does."""
print __dict__ is not None
done in0.16.0
load left0.000
closed by<not specified>