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

Larry Hastings report at bugs.python.org
Sat Jan 18 10:54:45 CET 2014


Larry Hastings added the comment:

I have a couple big patches incoming, over the next couple of days.  Here's a sneak-peek of my todo list:

* buffer support just went in (#20287)
* all builtins support landing maybe tomorrow (#20260)
* suppress the "self" parameter on impl for METH_STATIC
* allow variables to be renamed between parsing and impl functions ***
* allow passing in args and kwargs into impl (#20291)

The one I triple-starred is going to change the code you hacked up a *lot*.  I'm not going to look at this patch before then, because that change will break the patch completely.

But I'll make you a deal.  If you try again *after* all of the above lands, I'll look at it, and if it's fine it can probably go in.

I don't know if I said, but the obvious syntax is "foo as bar".  "as" should bind more tightly than the colon for the converter.

----------

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


More information about the Python-bugs-list mailing list