Higher-order functions in Python?

Chet Murthy (murthy@cs.cornell.edu)
Mon, 26 Sep 1994 17:15:28 GMT

I've been rooting around in Python, and it doesn't seem to me that
Python supports a notion of closures -- for implementing higher-order
functions.

While I'm not one of those lambda-calculus nuts, I do like using
closure every now and then. If the answer to this request is "use
objects", I'll be happy to do so. But I was wondering if this was a
purposeful omission or not.

Thanks,
--chet--