pylint #4288 message [en|dis]abling refactoring [open]

Maarten ter Huurne / syt

wish:
class ClassWithDynamicAttributes(object):
    # pylint: disable-msg=E1101

    # (rest of class definition)

This would mean that any missing attributes on ClassWithDynamicAttributes or any of its subclasses do not lead to E1101 being issued.

pb:

The problem is that currently messages disabling implementation is done according to source line numbers, not python objects.

conclusion:

Currently it's implemented on a line numbering basis: a global structure initialized for each module before its analysis is containing msg id and line numbers where it's deactivated. Refactor this to get it as a property of the ast nodes would probably be much more nice (and easiest then to implement ideas such as yours).

prioritynormal
typeenhancement
done in<not specified>
load1.000
load left1.000
closed by<not specified>