[Python-projects] pylint suggestion

Huurne, Maarten ter maarten.ter.huurne at philips.com
Wed Jun 17 15:01:16 CEST 2009


Amaury Forgeot d'Arc wrote:
> 2009/6/17  <Okko.Willeboordse at imtech.nl>:
> > Hallo
> >
> > I found that with Python 2.6 pylint started outputting lines like
> below to
> > stderr;
> > Exception RuntimeError: 'maximum recursion depth exceeded while
> calling a
> > Python object' in <type 'exceptions.RuntimeError'> ignored
> > Exception RuntimeError: 'maximum recursion depth exceeded in
> > __subclasscheck__' in <type 'exceptions.AttributeError'> ignored
> > Exception RuntimeError: 'maximum recursion depth exceeded in
> > __subclasscheck__' in <type 'exceptions.AttributeError'> ignored
> >
> > [...]
>
> Please don't! this is probably a problem with python2.6.
> Do you have a test case to reproduce it?

I have a test case for a very similar error message:

===
print 'a'.strip()
===
Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored
Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored

pylint 0.18.0,
astng 0.19.0, common 0.39.0
Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)

Bye,
                Maarten


The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


More information about the Python-Projects mailing list