[Zope-dev] make zope.component.registry.Components inherit from dict?

Benji York benji at zope.com
Tue Nov 24 08:28:14 EST 2009


On Tue, Nov 24, 2009 at 6:22 AM, Chris McDonough <chrism at plope.com> wrote:
> I think we have to divorce the requirement from "the ZCA".
>
> The requirement:
>
> - an attribute of an instance of the class
>   "zope.component.registry.Components" which is dictionarylike
>   (accepts any key type, any value type).

As far as I can tell you don't want any of the ZCA functionality (named
utilities, overriding, etc.), so divorcing this from the ZCA seems
appropriate.  I still don't quite see why a module global dictionary
doesn't meet your needs.
-- 
Benji York


More information about the Zope-Dev mailing list