This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients georg.brandl, larry, rmsr, serhiy.storchaka, zach.ware
Date 2014-01-16.03:16:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389842179.42.0.409009879855.issue20227@psf.upfronthosting.co.za>
In-reply-to
Content
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;
   ...
History
Date User Action Args
2014-01-16 03:16:19larrysetrecipients: + larry, georg.brandl, rmsr, zach.ware, serhiy.storchaka
2014-01-16 03:16:19larrysetmessageid: <1389842179.42.0.409009879855.issue20227@psf.upfronthosting.co.za>
2014-01-16 03:16:19larrylinkissue20227 messages
2014-01-16 03:16:18larrycreate