From a25c02eaf01abc7ca79efdbcda986b9cc2787b6c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 9 Apr 2024 18:26:35 +0200 Subject: 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. --- Doc/whatsnew/3.13.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index d971beb..d394fbe 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`.) -- cgit v0.12