Re: Stacking zope.component registries

Chris McDonough <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
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. ;-)
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.