[Python-ideas] a new lambda syntax
Stephen J. Turnbull
stephen at xemacs.org
Thu Oct 22 09:00:22 CEST 2009
Jim Jewett writes:
> On Tue, Oct 20, 2009 at 7:34 AM, Masklinn <masklinn at masklinn.net> wrote:
> > But unless the language is dynamically scoped (which is getting pretty rare
> > these days, and which Python definitely isn't)
>
> err ... current python. I believe that changed around python 2.2.
>
> I've wanted a way to reverse that more often than I've wanted a way to
> avoid naming a function.
It's funny ... the language I use most is Emacs Lisp and that has
taught me a severe aversion to dynamic scoping by default. Sometimes
it's useful, but when I am using say Common Lisp an occasional defvar
just isn't that painful. I don't think I've ever missed dynamic scope
in Python since my first few days with it.
More information about the Python-ideas
mailing list