Tuomas wrote: > #!/usr/bin/python > """test pydev_0.9.3/../pylint""" > __revision__ = "test_mod 0.1 by TV 06/10/22" > > lst = ['aaa', ' bbb', '\tccc\n'] > lst = map(lambda x: x.strip(), lst) > > result = """ > No config file found, using default configuration > ************* Module test_mod > W: 6: Used builtin function 'map' > E: 6: Using variable 'x' before assigment > ... > """
In addition to what the others said, note that pylint is entirely configurable. If you don't want to be bothered with warnings about map() which you are going to ignore, a simple modification to the pylint configuration file will prevent it from doing that check. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list