Common LISP-style closures with Python

Alan Ristow alan.ristow at gmail.com
Sun Feb 5 16:56:44 CET 2012


On 02/05/2012 05:19 AM, Antti J Ylikoski wrote:
>
> Yes, I do know that, but then it would not be a closure :-)))))))))

Forgive me if this is terribly naive, but what is the advantage of using 
a closure as opposed to, say, some other function that returns the same 
value in the same context, but is not a closure?

Alan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120205/0d6e4c72/attachment.html>


More information about the Python-list mailing list