Why don't people like lisp?

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Thu Oct 23 15:25:32 EDT 2003


On Thu, 23 Oct 2003 14:37:57 -0400, Brian Kelley wrote:

> Python's lambda is fairly awkward to start with, it is also slower than 
> writing a new function.  I fully admit that I have often wanted lambda 
> to be able to look up variables in the calling frame.

They can since Python 2.1 (in 2.1 with from __future__ import nested_scopes,
in 2.2 and later by default). This applies to nested functions as well.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/





More information about the Python-list mailing list