Well I haven't thought about the implementation yet, I was just
looking for a way to have you people shut up :-)
> I believe he's suggesting (Guido, scream where I'm wrong) _just_ a
> default-argument mechanism (more-or-less exactly like C++'s), not a
> (more elaborate) keyword-argument mechanism.
>
> So
> f(1,incr=1)
> would be a syntax error (assignment statement used where expression
> expected). But
> f(1,1)
> would indeed print 2.
That's indeed what I was proposing. Of course keyword parameters
could be added in a later phase as well (since as you point out they
are a syntax error now).
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>