[Python-Dev] Extended Function syntax

Guido van Rossum guido@python.org
Wed, 29 Jan 2003 14:32:48 -0500


> > The problem is that this is a *very* radical change to the grammar,
> > and I'm not sure I can rigorously define how the switch from
> > "expression parsing mode" to "block parsing mode" should work.
> 
> I would have thought that such a syntax is better left reserved to some
> hypothetical pep for anonymous blocks (extending lambdas, not that I personally
> favor/long for them) and not for something along the line of class in terms of
> synthetizing an object out of a by a block populated namespace.

Totally agreed.

--Guido van Rossum (home page: http://www.python.org/~guido/)