![](https://secure.gravatar.com/avatar/3b823d14198a94781b7c8b812639e7b4.jpg?s=120&d=mm&r=g)
March 18, 2014
9:31 a.m.
Hi again, I am using pylint 1.1.0 for Python 2.6 code. The following code: def myfunc(): print myfunc.func_name # Incorrectly raises E1101 print myfunc.__name__ # Correctly passes causes this pylint error to be raised: E1101: Function 'myfunc' has no 'func_name' member Python supports the func_name member in addition to __name__ since Python 2.1, see http://docs.python.org/2.7/library/inspect.html Is this pylint behavior a bug or is it currently unavoidable because it is related to dynamic code as described here? http://www.logilab.org/blogentry/78354 Kind Regards, Andy