[Zope] Re: lambda et al in PythonMethods and DTML

Tom Neff tneff@bigfoot.com
Tue, 30 May 2000 15:46:19 -0400


I agree with Lalo and others that powerful (but secure) Python features like
lambda and map should be available, especially in PythonMethods.  You want
to encourage people to use these whenever possible instead of hacking the
source tree.

I also think that it would be a MISTAKE to have a wide divergence between
what's available as an expression in DTML versus allowed in a PythonMethod.
Otherwise you'll end up spending the rest of the decade answering the same
six FAQ's "no, you can't do that in DTML, only in a PythonMethod."  The
functionality should be the same, and the selling point for the PM is its
self contained cleanliness.