What does this PyChecker warning mean?

MrJean1 mrjean1 at gmail.com
Tue Jun 1 14:08:49 EDT 2010


Although PyChecker 0.8.18 is quite an improvement over previous
releases, it does have quirks.  The PyChecker postprocessor might be
helpful, see

  <http://code.activestate.com/recipes/546532/>

/Jean


On Jun 1, 4:48 am, Leo Breebaart <l... at lspace.org> wrote:
> When fed the following code:
>
>  def Foo():
>
>     class A(object):
>         def __init__(self):
>             pass
>
>     class B(object):
>         def __init__(self):
>             pass
>
> PyChecker 0.8.18 warns:
>
>   foo.py:9: Redefining attribute (__init__) original line (5)
>
> I do not understand what is meant by this warning. In fact, it
> simply seems wrong -- but I have learned not to jump to that
> conclusion too quickly, so I was hoping someone here could
> perhaps enlighten me...
>
> Many thanks in advance,
>
> --
> Leo Breebaart  <l... at lspace.org>




More information about the Python-list mailing list