I found that I (like Alex Martelli, http://mail.python. org/pipermail/python-dev/2006-February/060341.html :-) am writing lambdas like "lambda x: x.do_smth(a,b,c)" a lot (often for filter/map functions). So, I think it would be great to have such a function implemented in C and placed in the standart library. Operator module can be a good place for it. -- Regards, Gregory.
Guido has stated that lambda will not be removed in Python 3000 (see PEP 3099), so I can't see the need for a HOF to avoid lambda-usage, especially when the lambda expression is shorter/clearer: operator.methodcaller('method', x, y, z) lambda x: x.method(x, y, z)