[Grok-dev] rookie Grokker notes

Martijn Faassen faassen at startifact.com
Tue Mar 2 12:17:07 EST 2010


Hi there,

J. Cameron Cooper wrote:
> Item 2: leaving off the super call in init
> 
> This is simply a case of RTFM, but I'll note that an error like so::
> 
>   AttributeError: 'ObjectName' object has no attribute 
> '_SampleContainer__data'
> 
> is a symptom of adding an __init__ method to a Container-subclassing 
> object and not calling the parent's init method  with 'super'.

Yeah, this is long-standing issue. Someone needs to sit down and see 
whether this is fixable.

https://bugs.launchpad.net/grok/+bug/162286

Regards,

Martijn



More information about the Grok-dev mailing list