[Zope-dev] More almost __call__ ;-)

Shane Hathaway shane@digicool.com
Fri, 13 Oct 2000 13:43:08 -0400


Jim Fulton wrote:
> The fact that ZPublisher will pass it is documented.  Whether
> or not something else calls it is up to the something else.
> The method designer specified an interface that includes RESPONSE.
> If it requires RESPONSE, by not specifying a default, then it
> requires the clients to oass it. If the clients don't, then they
> are not satisfying the interface.  Are you saying that objects
> that require that RESPONSE is passed are broken because they don't
> sufficiently advertise the fact?

I'm saying that there are some methods which expect the RESPONSE to be
passed only when called by ZPublisher.  They expect RESPONSE to be
"None" when called as a subtemplate or otherwise.  The only problem is
that this convention is not enforced.

But we've strayed... :-)

Shane