You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add vector call functions to the limited API #98586
Starting in Python 3.12, it is possible to receive vector calls in the limited API. However, it is not possible to issue them from a binary extension module compiled for the limited API.
Pitch
Since the PEP-590 is presumably stable at this point, I propose exposing more of it through the limited API. This would entail the functions
PyObject_Vectorcall
PyObject_VectorcallMethod
PyObject_VectorcallDict
PY_VECTORCALL_ARGUMENTS_OFFSET (a macro constant that is needed to use these effectively)
Activity
wjakob commentedon Oct 24, 2022
PR #98587 contains a tentative set of changes realizing the addition of these functions.
gh-98586: Add vector call APIs to the Limited API (GH-98587)
pythongh-98586: Add vector call APIs to the Limited API (pythonGH-98587)
pythongh-98586: add whatsnew entry, related documentation fix
gh-98586: Add What's New entry and update docs (#99056)