[Python-projects] __init__ method from a non direct base class <logilab.astng.Yes object at 0xb7f8392c> is called
Barry Scott
barry.scott at onelan.co.uk
Tue Nov 21 12:07:43 CET 2006
Alexandre Fayolle wrote:
> On Mon, Nov 20, 2006 at 04:51:44PM +0000, Barry Scott wrote:
> <snip>
>
>> My code does not use gtk. It is pure python (except for the extensions
>> that ship with python 2.4 itself).
>>
>
> <snip>
>
>
>> The code I'm running pylint against is very big it may take me a while
>> to get a small example that duplicate the error.
>>
>
> Could you tell us what the inheritance hierarchy of ActionItemEdit is?
>
I get around 200 errors out of the first module that I run pylint on. I
cannot release
this source for you to test against. I will have to build a smaller example
that breaks otherwise we will have nothing concrete to work with.
My first attempt at a small example did not have the problem with this
class.
However when I forgot to copy a __init__.py I did see the message:
__init__ method from a non direct base class <logilab.astng.Yes
object at 0xb7f8392c> is called
So a missing __init__.py is another way to get this message.
Am I right in guessing that this message means pylint/ast failed to find
information? Is it
a place holder in the code?
Barry
More information about the Python-Projects
mailing list