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 _______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality