[Grok-dev] Re: Day #1 of the Grok Sprint

Martijn Faassen faassen at startifact.com
Tue Mar 18 17:27:55 EDT 2008

Brandon Craig Rhodes wrote:
> Martijn Faassen <faassen at startifact.com> writes:
>>> We have not yet tackled what on earth do to with the interfaces.py
>>> file (we suppose that some sort of inheritance hierarchy will now
>>> have to exist between the various grokcore interfaces and the main
>>> Grok interfaces),
>> Why can't you import those defined in grokcore.component.interfaces
>> into grok.interfaces?
> Well, grokcore.component.interfaces would then have to depend on
> several things in Zope, since some Grok interfaces inherit from things
> like IBrowserView and IBrowserPage.

I probably don't understand something.. Of course those particular 
interfaces should say in grok.interfaces and not appear in 
grokcore.component interfaces. grok.interfaces should import from 
grokcore.component.interfaces those interfaces that moved to it.



More information about the Grok-dev mailing list