On Thursday 18 February 2010 07:59:44 Sylvain Thénault wrote:
> On 17 février 01:38, Fletcher Johnson wrote:
> Hi,
> 
> > I'm looking into fixing this bug, but I don't have a very good
> > understanding of where I should start tackling this bug. Can any
> > body recommend a file or a set of files in the source where I should
> > concentrate my efforts?
> 
> that's rather a new feature than a bug ;) This is a new check that
> could be added for instance to the 'base' checker (eg
>  pylint/checkers/base.py). Basically, you should:
> 
> * add a visit_raise method that will check the nature of the raised
>  expression to detect potential misusage of a 2-uple

Actually, any N-uple with N>=1 shoud trigger this. And even a 0-uple should 
probably trigger a warning as these are always False and this would be a 
statement without effect. 
 

-- 
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, CubicWeb, Debian :  http://www.logilab.fr/formations
Développement logiciel sur mesure :      http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to