[Zope-dev] zope.site.hooks

Martijn Faassen faassen at startifact.com
Wed Oct 7 16:19:57 EDT 2009


Tim Hoffman wrote:
> On Wed, Oct 7, 2009 at 8:49 AM, Martin Aspeli <optilude+lists at gmail.com> wrote:
>> Martijn Faassen wrote:
>>
>>
>> Please don't add new dependencies to zope.component. Even optional ones,
>> IMHO. It makes it harder to re-use for others and more complex to
>> understand. Many people (e.g. those wanting to use GAE) object to the C
>> stuff in zope.security in particular.
> 
> Big +10000
> 
> I am using repoze.bfg on app engine (and in the past a minimal zope3 stack)
> and getting rid of zope.security dependancies (and/or gutting it) in
> other packages is not easy
> and would hate see it turn up in zope.component.

This would be an entirely optional dependency. The code would work 
without zope.security being available, just takes zope.security into 
account when it's there.

Note that the 'zcml' extra already depends on 'zope.security'. I'm not 
exactly happy with that though - perhaps it'd be better if it also was 
an optional dependency?

Regards,

Martijn



More information about the Zope-Dev mailing list