Stephan Richter wrote:
> On Tuesday 23 May 2006 11:02, Philipp von Weitershausen wrote:
>> Would callable(removeAllProxies(obj)) be harmful in any way if you
>> end up calling the proxied obj() anyway?
> No, we do this for zapi.isinstance as well.

Well, yeah, zapi.isinstance really is from This means it only strips security
proxies. (Which is, btw, why I prefer direct imports and dislike zapi
nowadays: it doesn't make clear what a particular API the function comes

I would be removing ALL proxies (because that's what it takes to make
callable()'s result accurate).


Zope3-dev mailing list

Reply via email to