On Monday 24 October 2011 16:44:44 rbast...@free.fr wrote:
> > > Bonjour,
> > > 
> > > Sometimes, there is the following message from pylint:
> > > 
> > > Exception RuntimeError: 'maximum recursion depth exceeded in
> > > __subclasscheck__' in <type 'exceptions.AttributeError'> ignored
> > > 
> > > Maybe it comes from circular imports - but there is no
> > > good reason to maintain circular imports (in my code).
> > > How can I detect this bad code ?
> > 
> > which version of python/pylint are you using? There used to be some
> > messages like theses which appeared when using pylint with python2.6,
> > but those should have been removed.
> 
> pylint : numversion = (0, 16, 0) [?]
> python : 2.6.1 <==========
> 

The recommended way is to run pylint --version

That said, these are getting old. The current version of pylint is 0.25.0 
which you can download from http://www.logilab.org/project/pylint (you will 
also need logilab-astng and logilab-common). 

If you're running a Debian or Ubuntu machine, there are some repositories with 
up to date versions of pylint available too : see 
http://www.logilab.org/card/LogilabDebianRepository (which might be a bit 
outdated in terms of version names but the repositories are there, just change 
the line in the suggested config). 


-- 
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