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)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20227>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to