<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 2:18 PM, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org">guido@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Fri, Mar 2, 2012 at 2:01 PM, Gregory P. Smith <<a href="mailto:greg@krypto.org">greg@krypto.org</a>> wrote:<br>
><br>
> On Fri, Mar 2, 2012 at 12:00 PM, Guido van Rossum <<a href="mailto:guido@python.org">guido@python.org</a>> wrote:<br>
>><br>
>> I've written such decorators too, but they've got quite a bit of<br>
>> overhead...<br>
><br>
> yeah those fall into the gross hacks I alluded to in my original post. ;)<br>
><br>
> I intentionally decided to leave out discussion of "should we allow<br>
> positional-only arguments to be declared in Python" but it is a valid<br>
> discussion and thing to consider...<br>
<br>
</div>I just want to remain realistic and acknowledge that positional<br>
arguments have their place.<br></blockquote><div><br></div><div>+1</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> if we go that route, could it be possible to implement range([start=0, ]<br>
> stop[, step=1]) such that they are positional only but mutliple arguments<br>
> are treated different than strictly sequential without writing conditional<br>
> code in Python to figure out each one's meaning at runtime.<br>
<br>
</div>Eew, I don't think this pattern is useful enough to support in syntax,<br>
even if one of the most popular builtins (but only one!) uses it.<br></blockquote><div><br></div><div>Technically more than one, if you consider slice() separate from range()... but they are related so I'm willing to consider them "one" ;)</div>

<div><br></div><div>anyways, agreed.  keeping it simple makes sense.</div><div><br></div><div>Though the syntax proposals so far aren't looking great to me.  I need to stare at them longer.</div><div><br></div><div>-gps</div>

</div>