-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Remove unused _PyArg_VaParseTupleAndKeywordsFast() #107196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This private function is no longer used.
Remove the private _PyArg_VaParseTupleAndKeywordsFast() function: it is no longer used.
|
PR #107197 is the easy part: remove the unused private |
|
Argument Clinic currently unrolls parsing functions, generating a sequence of converter calls for individual parameters. But it does not support all cases, and when it fail to generate parsing code for all parameters, it falls back to traditional method, calling So it happened that
You can remove |
|
Let's keep _PyArg_ParseStackAndKeywords() for now. PR #110966 moves it to the internal C API, so it will be easier to remove it later if needed. |
It seems like the
_PyArg_VaParseTupleAndKeywordsFast()function is no longer used in the Python code base.Moreover, Argument Clinic (
Tools/clinic/clinic.py) can produce code calling the_PyArg_ParseTupleAndKeywordsFast()function, but it is not the case currently:_PyArg_ParseStackAndKeywords()is used instead.What's the status of these two functions,
_PyArg_ParseStackAndKeywords()and_PyArg_VaParseTupleAndKeywordsFast()?cc @erlend-aasland @serhiy-storchaka
Linked PRs
The text was updated successfully, but these errors were encountered: