[Zope-CMF] Re: RestrictedPython, TALES Expressions and CMF

Dieter Maurer dieter at handshake.de
Sun Oct 16 07:22:34 EDT 2005


Tres Seaver wrote at 2005-10-11 08:58 -0400:
> ...
>'call_with_ns' should be invoked only for objects with either a
>'__render_with_namespace__' attribute (PythonScripts fit here) or those
>with 'isDocTemp' true.  Its only real purpose is to set up the namespace
>before calling a DTMLMethod;  I don't even understand why PythonScripts
>have such a method.

Probably, because they can bind the DTML namespace...

-- 
Dieter


More information about the Zope-CMF mailing list