logilab-astng #8847 pylint doesn't understand function attributes at all [validation pending]

Jürgen reported on python-projects

basically, pylint doesn't understand function attributes at all. In 0.14, you always got the warning (which I ignored so far), now you also get an error (see below).

test.py:

"test"

def test():
  "test"
  print test.bar

test.bar = 1
test()
python test.py
1

pylint -rn test.py
************* Module test
E:  4:test: Class 'test' has no 'bar' member
W:  5: Unused variable 'bar'

pylint --version
pylint 0.18.0,
astng 0.19.0, common 0.39.0
Python 2.5.2 (r252:60911, Nov 14 2008, 19:46:32)
[GCC 4.3.2]
prioritynormal
typebug
done in0.21.1
load0.500
load left0.000
closed by<not specified>