[Python-Dev] fmod.c

2007-03-10 Thread Paul Hankin
if it would be better just to remove the file. -- Paul Hankin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Some new additions to functools

2007-04-15 Thread Paul Hankin
t; > def multifilter(func, seq, n=2): > return multimap(lambda x: filter(func, x), seq, n-1) > > def multireduce(func, seq, n=2): > return multimap(lambda x: reduce(func, x), seq, n-1) -0 for cat (renamed to 'identity'), -1 for the rest. I've occasionally w