Re: [Python-3000] Signature API

2006-04-21 Thread Greg Ewing
Jim Jewett wrote: > On the other hand, it would be pretty easy to miss that x needed a > value, particularly if x were the third or fourth of a dozen keywords. That could be addressed by requiring that all mandatory keyword-only args are listed before the optional ones in the def. Of course, you

Re: [Python-3000] Signature API

2006-04-21 Thread Guido van Rossum
Jim, Can you try to produce strawman answers for all those questions? It may be a while before I'll get to answering them... --Guido On 4/21/06, Jim Jewett <[EMAIL PROTECTED]> wrote: > On 4/21/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On 4/21/06, Guido van Rossum <[EMAIL PROTECTED]> wr

[Python-3000] Signature API

2006-04-21 Thread Jim Jewett
On 4/21/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: On 4/21/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: >... pronounce that I now like the single-star syntax: > def foo(a, b, *, x=1, y=2): ... [Alex asked for clarification] I wrote: > It has not yet been specified whether the keywor