Message243304
| Author |
serhiy.storchaka |
| Recipients |
larry, serhiy.storchaka |
| Date |
2015年05月16日.10:21:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1431771664.0.0.459061806874.issue24207@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Argument Clinic adds the "_value" suffix to the end of variable names in C if the parameter name is C keyword. But it left unmodified parameter names that can conflict with parameter names of C function: args and kwargs (and module and self if they are used not as the first parameter). Following declaration generates a code that can't bi compiled:
mod.func
args: object
kwargs: object
Either Argument Clinic should add the "_value" suffix to the end of these names, or use other names for parameters of generated parser function. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年05月16日 10:21:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, larry |
| 2015年05月16日 10:21:03 | serhiy.storchaka | set | messageid: <1431771664.0.0.459061806874.issue24207@psf.upfronthosting.co.za> |
| 2015年05月16日 10:21:03 | serhiy.storchaka | link | issue24207 messages |
| 2015年05月16日 10:21:03 | serhiy.storchaka | create |
|