]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Revert "gh-106023: Update What's New in 3.13: _PyObject_FastCall() (#117633)" (#117676)
authorVictor Stinner <vstinner@python.org>
Tue, 9 Apr 2024 16:26:35 +0000 (18:26 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Apr 2024 16:26:35 +0000 (18:26 +0200)
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

index d971beb27bbf2743172ae01c3e46058f1ca914b7..d394fbe3b0c35704d95e8845a3624ee2bf834624 100644 (file)
@@ -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`.)