gh-112026: Update What's New: _PyObject_Vectorcall() was restored by vstinner · Pull Request #112171 · python/cpython
Expand Up
@@ -1399,20 +1399,6 @@ Removed
(Contributed by Victor Stinner in :gh:`105182`.)
* Remove the old aliases to functions calling functions which were kept for backward compatibility with Python 3.8 provisional API:
* ``_PyObject_CallMethodNoArgs()``: use ``PyObject_CallMethodNoArgs()`` * ``_PyObject_CallMethodOneArg()``: use ``PyObject_CallMethodOneArg()`` * ``_PyObject_CallOneArg()``: use ``PyObject_CallOneArg()`` * ``_PyObject_FastCallDict()``: use ``PyObject_VectorcallDict()`` * ``_PyObject_Vectorcall()``: use ``PyObject_Vectorcall()`` * ``_PyObject_VectorcallMethod()``: use ``PyObject_VectorcallMethod()`` * ``_PyVectorcall_Function()``: use ``PyVectorcall_Function()``
Just remove the underscore prefix to update your code. (Contributed by Victor Stinner in :gh:`106084`.)
* Remove private ``_PyObject_FastCall()`` function: use ``PyObject_Vectorcall()`` which is available since Python 3.8 (:pep:`590`). Expand Down
(Contributed by Victor Stinner in :gh:`105182`.)
* Remove the old aliases to functions calling functions which were kept for backward compatibility with Python 3.8 provisional API:
* ``_PyObject_CallMethodNoArgs()``: use ``PyObject_CallMethodNoArgs()`` * ``_PyObject_CallMethodOneArg()``: use ``PyObject_CallMethodOneArg()`` * ``_PyObject_CallOneArg()``: use ``PyObject_CallOneArg()`` * ``_PyObject_FastCallDict()``: use ``PyObject_VectorcallDict()`` * ``_PyObject_Vectorcall()``: use ``PyObject_Vectorcall()`` * ``_PyObject_VectorcallMethod()``: use ``PyObject_VectorcallMethod()`` * ``_PyVectorcall_Function()``: use ``PyVectorcall_Function()``
Just remove the underscore prefix to update your code. (Contributed by Victor Stinner in :gh:`106084`.)
* Remove private ``_PyObject_FastCall()`` function: use ``PyObject_Vectorcall()`` which is available since Python 3.8 (:pep:`590`). Expand Down