Guido van Rossum <guido <at> python.org> writes: > To prevent more abominations like this, let me pronounce that I now > like the single-star syntax: > > def foo(a, b, *, x=1, y=2): ...
Thank you :) It was getting pretty strange there. The variation that I was thinking of was a little shorter, but not necessarily better: def foo( a, b; x=1, y=2 ): ... BTW I still haven't given up on working on an implementation for keywords after *args, but it's been going rather slowly due to lack of time to sit down and focus. I know you want implementations rather than PEPs at this point, but if there is a consensus on both the "keywords after *args" and "keyword only" arguments, I can write up a PEP for that, if that would be useful. -- Talin _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com