[Grok-dev] Re: big grok refactoring

Martijn Faassen faassen at startifact.com
Tue Dec 12 15:18:07 EST 2006


Martijn Faassen wrote:
[snip]
> The only bit remaining to have full extensibility is to adjust our 
> scanning procedure to grok up any meta.py's first before grokking the 
> rest. This could be done by following the ZCML pattern and introducing a 
> meta.zcml in any package that wants to introduce new grokkable things. 
> This would then grok the meta module or any other modules that contain 
> grokkers. Hm, I think that this would be possible without doing any more 
> code changes, cool!

I spoke too fast, I just realized that grokking a package would also 
grok meta.py and this would re-grok the grokkers. It may not be harmful 
in operation as those grokkers would just be re-registered, but not pretty.

Regards,

Martijn



More information about the Grok-dev mailing list