21 Oct
2009
21 Oct
'09
6:28 a.m.
While writing tests for the zope.site.hooks module I'm moving to zope.component, I notice that the module calls getSiteManager() on an site object. Such an object isn't technically required to implement an interface that declares that method, but there is one, or rather a pair of them: IPossibleSite and ISite. These interfaces are currently defined by zope.location even though they aren't involved with the concept of location at all. As these two interfaces have the same concept of a site that zope.component has (i.e. simply an object that has a component registry associated with it), I propose moving IPossibleSite and ISite to zope.component, leaving BBB imports behind. Any objections? -- Thomas