From: gabriele renzi Date: 2003-11-19T05:57:15+09:00 Subject: Re: Again, Rite explanation needed (keyword args and new hash syntax) il Tue, 18 Nov 2003 23:19:42 +0900, Michael Neumann ha scritto:: >On Tue, Nov 18, 2003 at 10:32:16PM +0900, gabriele renzi wrote: > >Ah, thanks. But think about this one in Python: > > def f(a, b=10, *args, **keys): > print a, b, args, keys > > f(1, b=2, c=4, d=8) # all right here > > # want to use b as keyword argument > f(1, "a", "b", "c", b=2, c=4) # => ERROR > >The problem arises, as it's undecidable if b is a keyword argument or >not, so that *args cannot be used in this case (or I am missing >something here). mh.. yes, this seem the case were our kwd would be better. thanks for the discussion :=)