On Thu, 6 Dec 2001, Brad Clements wrote:
> On 6 Dec 2001 at 16:12, Romain Slootmaekers wrote:
> > > reduce(operator.add,[0,1,2,3,4])
> > >
> > try "_.reduce(....)"
> This is in a Python Script, I'm not using the DTML namespace.
> Note that map() and filter() work without a problem, so why not reduce() ?
> > this shkould be clear enough as a message.
> > zope can't find the reduce function.
> right, but it can find the other built-in functions okay.
try in your script:
and after that works <function guarded_filter at ...>
someone probably just forgot to implement the guarded_reduce method....
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -