On Wednesday 23 July 2008, Philipp von Weitershausen wrote:
> I think Stephan is referring to the (formerly) last item of the tuple,
> which is available as utility_reg.info. It contains information about
> how the component was registered, for instance the ZCML file name + line
> It looks like Stephan is suggesting to do something like this:
> component = factory()
> registry.registerUtility(component, info=InfoAbout(factory))
> whereas Wichert's approach allows you to write:
> I prefer Wichert's approach.
Oh, I thought the "component" argument was still required making factory a
documentation artifact. In this case I am okay.
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -