[Zope] Use of lambda expression in DTML

Jonothan Farr jfarr@real.com
Fri, 26 May 2000 15:05:14 -0700


> In brief: I get a NameError when invoking "filter(...)" from DTML.  I thought
this was a built-in python method, so I'm a bit puzzled.


Certain built-ins are not available in dtml for security and other reasons,
filter and lambda are among them. As far as I know, you'll need to use an
external method to do this or think of another way to do it in dtml.

--jfarr

"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998