Why don't people like lisp?

JCM joshway_without_spam at myway.com
Thu Oct 23 15:31:13 EDT 2003


In comp.lang.python Marcin 'Qrczak' Kowalczyk <qrczak at knm.org.pl> wrote:
> 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.

Variables in lexically enclosing scopes will be visible, but not
variables in calling frames.




More information about the Python-list mailing list