[issue20227] Argument Clinic: rename arguments in generated C?

Larry Hastings report at bugs.python.org
Sat Jan 18 23:14:33 CET 2014


Larry Hastings added the comment:

On 01/18/2014 01:12 PM, Ryan Smith-Roberts wrote:
> Ryan Smith-Roberts added the comment:
>
> I believe the feature you starred resolves this enhancement issue, in which case my patches are obsolete. And yes, the 'as' syntax makes a lot more sense. Here's how I hope it works (the arg parsing wrapper remains unchanged):
>
>     foo: int
> ...
> _impl(..., int foo)
>
> can become
>
>      foo: int as bar
> ...
> _impl(..., int bar)

Nope, not what I wanted.  I said "as" binds more tightly than ":":

    foo as bar: int

But if you're dropping the patch I guess it's irrelevant.

//arry/

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20227>
_______________________________________


More information about the Python-bugs-list mailing list