question??? [Python-Dev] Property syntax

Samuele Pedroni pedronis@bluewin.ch
Fri, 31 Jan 2003 19:49:12 +0100


From: "Guido van Rossum" <guido@python.org>
> > From: "Guido van Rossum" <guido@python.org>
> > >
> > > So the compiler cannot look at what the thunk is used for.  We need
> > > uniform treatment of all thunks.  (Even if it means that the thunk's
> > > consumer has to work a little harder.)
> >
> > is it a correct assumption that generalized thunks be it, and so
> > argumenting against them is wasting my time?
>
> Not at all.  This is still wide open.  I happen to like generalized
> thunks because they remind me of Ruby blocks.  But I realize there are
> more ways to skin this cat.  Keep it coming!

question, do you want thunks to be able to take arguments? is being able to
write something like this a target?

iterate(list): (x):
  print x