[Grok-dev] Re: Day #1 of the Grok Sprint
Philipp von Weitershausen
philipp at weitershausen.de
Tue Mar 18 19:21:47 EDT 2008
Martijn Faassen wrote:
> Brandon Craig Rhodes wrote:
>> Martijn Faassen <faassen at startifact.com> writes:
> [snip]
>>>> 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.
In theory, yes. In practice, I wonder which interfaces this is about. I
find no interfaces in grok.interfaces that are related to
grokcore.component. Most of them are API descriptions of the 'grok'
module...
More information about the Grok-dev
mailing list