Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Labels
Description
Copy of@tacaswell'smessage:
aio-libs/multidict is also using
_PyArg_Parserand friends (e.g.https://github.com/aio-libs/multidict/blob/18d981284b9e97b11a4c0cc1e2ad57a21c82f323/multidict/_multidict.c#L452-L456 but there are many)
The _PyArg_Parser API is used by Argument Clinic to generate efficient code parsing function arguments.
Since Python 3.12, when targeting Python internals, Argument Clinic initializes_PyArg_Parser.kwtuple with singletons objects using the_Py_SINGLETON(name) API. This API cannot be used outside Python.
Private functions with a_PyArg_Parser argument:
- _PyArg_ParseStackAndKeywords()
- _PyArg_ParseTupleAndKeywordsFast()
- _PyArg_UnpackKeywords()
- _PyArg_UnpackKeywordsWithVararg()