[ZPT] zope3-dev proposal on changing implicitly calling

Steve Alexander steve at z3u.com
Mon Jul 28 13:46:57 EDT 2003


Chris Withers wrote:
> Steve Alexander wrote:
> 
>>>> Ok. What about when 'z' should not be called?
>>>
>>>
>>>
>>> Can you give me an example of when that's the case?
>>
>>
>>
>> z is a class object. You're more interested in getting an attribute or 
>> a class method from it than creating a new instance.
> 
> 
> I do hope that's an edge case...
> 
> ...in which case something like a nocall: should be fine.

It will not be fine, because in Zope 3 we want to control these things 
through policy, not through whether nocall: is present in a TALES 
expression or not.

--
Steve Alexander





More information about the ZPT mailing list