[Grok-dev] rookie Grokker notes

Souheil CHELFOUH trollfot at gmail.com
Tue Mar 2 12:22:37 EST 2010


I don't know if we should *fix* or propose a real container
implementation and a migration script.
We discussed this, already in the Neanderthal sprint II.
Maybe touching zope.container woudln't be a bad thing.

2010/3/2 Martijn Faassen <faassen at startifact.com>:
> 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
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
>


More information about the Grok-dev mailing list