[Python-Dev] thunks

Samuele Pedroni pedronis@bluewin.ch
Tue, 4 Feb 2003 19:35:24 +0100


----- Original Message ----- 
From: "Gerald S. Williams" <gsw@agere.com>
To: <python-dev@python.org>
Sent: Tuesday, February 04, 2003 7:02 PM
Subject: Re: [Python-Dev] thunks


> Guido van Rossum wrote:
> >   [<variable> =] <expression>:
> >     <block>
> ...
> >   [<variable> =] <expression> lambda:
> >      <block>
> ...
> >   [<variable> =] <expression> lambda <arguments>:
> >      <block>
> ...
> >   [<variable> =] <expression> lambda:
> >     <block>
> >   and <expression> lambda:
> >     <block>
> >   ...
> 
> Can this be extended to allow multiple expressions
> to act on the thunk? That capability was in some of
> the earlier proposals. I suppose you could allow a
> list of expressions, multiple expressions separated
> by white space, or something similar.
> 

this one has nothing to do with def () []