Thomas Lotze wrote: > Thomas Lotze wrote: > >> 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. > > I wonder: should we start requiring that the object passed to setSite() > implement (or even be adaptable to) IPossibleSite?
I think the simplest way forward would be not to change the semantics as part of this step. Regards, Martijn _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org 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 )