Chris Withers <[EMAIL PROTECTED]> wrote:
> Terry Kerr wrote:
> > Hi,
> > Is there any way to get access to inbuild python functions like 'filter'
> > and 'lambda' within pythonMethods?
> I think the powers that be decided they were 'unsafe' :-(
> Can anyone confirm or deny?
'lambda' is actually a keyword, not a function, and hence works
fine in PM0.1.7. 'map()', 'filter()', et al., were deemed to
be susceptible to being used in DOS attacks, and hence are not
permitted in through-the-web code (they would need to be added
to the '_' namespace, like 'str()', et aliae).
Tres Seaver [EMAIL PROTECTED]
Digital Creations "Zope Dealers" http://www.zope.org
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -