pylint #8389 check Attribute access for undefined attributes [open]
Attribute access for undefined attributes is not as bad as for variables ; But maybe we should have an AttributeError warning in cases like this class Attrs(object): """dummy class for wrong attribute access""" AOU = Attrs() AOU.number *= 1.3 del AOU.badattr Compare this to test/input/func_undefined_var.py | |
priority | normal |
---|---|
type | enhancement |
done in | <not specified> |
load | 1.000 |
load left | 1.000 |
closed by | <not specified> |