Michael Chermside wrote: > Guido writes: > >>I've always wanted to write that as >> >> f(a, b, *args, foo=1, bar=2, **kwds) >> >>but the current grammar doesn't allow it. > > > Hmm.... why doesn't the current grammar allow it, and can we fix that? > I don't see that it's a limitation of the one-token-lookahead, could > we permit this syntax by rearanging bits of the grammer?
I griped about this a while back, and got the impression from Guido that fixing it was possible, but it had simply never bugged anyone enough for them to actaully get around to fixing it. Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://boredomandlaziness.blogspot.com _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com