GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — gh-108494: AC supports pos-only args in limited C API by vstinner · Pull Request #108498 · python/cpython Conversation
|
| {parse_arguments})) | ||
| goto exit; | ||
| """, indent=4)] | ||
| argname_fmt = 'args[%d]' |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It is not correct. In best case it is unused.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Since AC and parsing arguments are complex, I propose to implement incrementally the limited C API. I'm not sure that I get your comment, when is it unused? Do you want to propose a fix?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@vstinner, would you be able to add some documentation for this change to https://docs.python.org/3/howto/clinic.html? It would be useful information for users of Argument Clinic to know that they can generate code that only uses the limited C API by adding #define Py_LIMITED_API to a file
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I wrote PR #108584 to document the Limited C API feature. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.