Hello, John > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Fouhy > Sent: Tuesday, November 07, 2006 6:56 PM > To: Carroll, Barry > Cc: tutor@python.org > Subject: Re: [Tutor] Ruby Code Blocks vs. Python Lambdas > > On 08/11/06, Carroll, Barry <[EMAIL PROTECTED]> wrote: > > Correct indeed. But lambda functions ARE anonymous. > > > > "Python supports the creation of anonymous functions (i.e. > > functions that are not bound to a name) at runtime, using > > a construct called "lambda". > > http://www.secnetix.de/~olli/Python/lambda_functions.hawk > > > > So that principle has already been bent. Since code blocks are more > > flexible and more intuitive than lambdas, why not add them to the tool > > box? To quote some more principles: > > PEP3099 (http://www.python.org/dev/peps/pep-3099/) makes this seem > unlikely.. > > -- > John.
Yes, I'd say it certainly does. It's unfortunate, IMHO, but I'm not a language designer and probably don't understand all the implications of such a change. -sigh- Regards, Barry [EMAIL PROTECTED] 541-302-1107 ________________________ We who cut mere stones must always be envisioning cathedrals. -Quarry worker's creed _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor