On Thu, Mar 06, 2008 at 03:15:54PM +0100, Helmut Grohne wrote:
> found 438438 0.14.0-2
> tags 438438 +patch
> thanks
> 
> I believe that this bug is not fixed in the latest version of pylint.
> 
> See for example:
> 
> E:5:some_function: Undefined variable 'all'
> 
> The problem is easy to work around though. The file /usr/bin/pylint
> looks like this:
> 
> $ cat /usr/bin/pylint
> #!/usr/bin/python
> import sys
> from pylint import lint
> lint.Run(sys.argv[1:])
> $
> 
> In order to support multiple python versions I suggest adding programs
> /usr/bin/pylint2.5 and so forth having the interpreter version in the #!
> line. I verified that this works for my system.

Please launch python2.5 /usr/bin/pylint if you want to check code with a
version of python different from the default one. 

I don't want to use python2.5 in the shebang stanza by default, as I
feel it is useful to be able to be able to check code for the standard
python version by default. 

-- 
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science

Attachment: signature.asc
Description: Digital signature

Reply via email to