On Wed, Feb 4, 2009 at 11:33 PM, Igor Sylvester <span dir="ltr"><<a href="mailto:ias@alum.mit.edu">ias@alum.mit.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is this worthy of a PEP?<br></blockquote><div><br>You could try, but I doubt it'd get any traction. After all, if you do func(**kw) there's no possible way to capture the order of the keyword arguments, since the underlying dictionary didn't have an order. Also you have to remember that for:<br>
<br>def add(x, y): return x+y <br></div></div><br>these function calls are all equivalent:<br><br>add(1, 2)<br>add(1, y=2)<br>add(y=2, x=1)<br><br><br clear="all"><br>-- <br>Ian Bicking | <a href="http://blog.ianbicking.org">http://blog.ianbicking.org</a><br>