[Zope-dev] Stacking zope.component registries

Chris McDonough chrism at plope.com
Thu Apr 8 17:00:25 EDT 2010


On 4/8/10 4:36 PM, Marius Gedminas wrote:
>>
>> from zope.component import getSiteManager
>> getSiteManager.sethook(get_current_registry)
>
> That seems a bit short-sighted: it would break all tests that rely on
> setSite() working.

He said he wanted a global registry, but.. who knows?  I stay as far away from 
that API as possible. ;-)


More information about the Zope-Dev mailing list