25 Nov
1999
25 Nov
'99
4:01 p.m.
Ava wrote:
Hello,
I wonder why the builtin function type() is not available, neither from DTML nor from products like PythonMethod ? Could the use of such a function be a security problem?
Yep. Beleive it or not, on certain Extension Methods type() returns an executable object which should not be exposed in Zope. I've suggested adding a nice safe same_type(a,b) function to the namespace, but got no response. I'll go file it with the Collector now. Cheers, Evan @ 4-am