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 BTaskaya
Recipients BTaskaya, larry, pablogsal
Date 2020-02-24.17:30:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582565410.47.0.513154068013.issue39741@roundup.psfhosted.org>
In-reply-to
Content
Argument clinic uses some extra variables (like args, or noptargs, nargs etc.) for parsing. But there is a catch about these names, the generated code becomes wrong if there are any usages of them inside the signature. Encountered with this problem while working on *args support (in issue 20291). 

The possible solution is prefixing every argument in the parser with __clinic_ (__clinic_{var}) for preventing any kind of conflict. I'll draft a PR for this issue.
History
Date User Action Args
2020-02-24 17:30:10BTaskayasetrecipients: + BTaskaya, larry, pablogsal
2020-02-24 17:30:10BTaskayasetmessageid: <1582565410.47.0.513154068013.issue39741@roundup.psfhosted.org>
2020-02-24 17:30:10BTaskayalinkissue39741 messages
2020-02-24 17:30:10BTaskayacreate