Larry Hastings added the comment:
I don't see the big win from this. You can rename variables in C any way you
like. "functionname as c_basename" is to fix otherwise unavoidable collisions;
this seems like a nice-to-have. And I already have a lot on my plate. I could
consider it later but the priority for this is below converting functions.
Georg: I remind you that nearly every parsing function already has a variable
called "args". To allow you to have a parameter called "args" would mean I'd
have to have really complicated internal structure, where
the variable I declare in the parsing function would have a different
name from the parameter to the impl function. Do you really have a
burning, nearly incandescent need for this feature?
Zachary: You could minimize the size of the diff by using nested scopes:
_impl(...)
/*[clinic end generated code: checksum=...]*/
{
int use_overlapped = overlapped;
{
LP_OVERLAPPED overlapped;
...
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20227>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com