[Python-Dev] thunks
Gerald S. Williams
gsw@agere.com
Tue, 4 Feb 2003 14:40:10 -0500
Samuele Pedroni wrote:
> > Can this be extended to allow multiple expressions
> > to act on the thunk? That capability was in some of
> > the earlier proposals. [...]
>
> this one has nothing to do with def () []
Let me rephrase it, then. It looks like this thunk
proposal allows:
def func(args):
code
to be rewritten along the lines of:
func = function_def lambda args:
code
but doesn't account for the functionality for which
"def () []" is being suggested. Can we generalize it
to account for both forms of def?
-Jerry