[Python-projects] Bug in Pylint

Gerard.Delegue at alcatel.fr Gerard.Delegue at alcatel.fr
Thu Nov 25 14:12:52 CET 2004


I'm using Pylint 0.4.2 on Windows.

When I test the following file on windows, no error is detected.

On Linux, Pylint detects that the method "undeclaredMethod" is not declared:
F:  0: Unable to load module mytest (Parameter instance has no attribute 
'undeclaredMethod')

Is there a bug with Pylint 0.4.2 on Windows?

class Parameter:
    def __init__(self):
        """init"""
    def frequencies(self, date="0"):
        """frequencies"""
        date =  "1"
        return date
P = Parameter()
P.undeclaredMethod()



More information about the Python-Projects mailing list