From: Victor Stinner Date: Tue, 9 Apr 2024 16:26:35 +0000 (+0200) Subject: Revert "gh-106023: Update What's New in 3.13: _PyObject_FastCall() (#117633)" (#117676) X-Git-Tag: v3.13.0b1~503^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a25c02eaf01abc7ca79efdbcda986b9cc2787b6c;p=thirdparty%2FPython%2Fcpython.git Revert "gh-106023: Update What's New in 3.13: _PyObject_FastCall() (#117633)" (#117676) This reverts commit 9a12f5d1c19dee1f89684be776680aeaf117be5b. I was wrong: the _PyObject_FastCall() function was removed. But we kept the _PyObject_FastCallDict() function. --- diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index d971beb27bbf..d394fbe3b0c3 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -2030,6 +2030,11 @@ Removed (Contributed by Victor Stinner in :gh:`105182`.) +* Remove private ``_PyObject_FastCall()`` function: + use ``PyObject_Vectorcall()`` which is available since Python 3.8 + (:pep:`590`). + (Contributed by Victor Stinner in :gh:`106023`.) + * Remove ``cpython/pytime.h`` header file: it only contained private functions. (Contributed by Victor Stinner in :gh:`106316`.)