Talin wrote:

> In this case, however, I don't see why we can't have the keyword
> arguments out of order.

But what's the *benefit* of being allowed to write that?

> The important thing is that the behavior be clear and unambiguous,
> which I think this is.

It might be unambiguous, but I disagree completely about the
'clear'. Upon encountering such a call, I would have to stop and
think quite hard, and probably go and consult the definition,
to figure out what it's doing.

To me, the only reason to pass non-optional positional arguments
by keyword is when the call signature is not short and well-known
enough for positional arguments to be clear -- and in that case,
it's much better to pass *all* of them by keyword.

--
Greg
_______________________________________________
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

Reply via email to