Mailing List Archive

Revert "gh-106023: Update What's New in 3.13: _PyObject_FastCall() (#117633)" (#117676)
https://github.com/python/cpython/commit/a25c02eaf01abc7ca79efdbcda986b9cc2787b6c
commit: a25c02eaf01abc7ca79efdbcda986b9cc2787b6c
branch: main
author: Victor Stinner <vstinner@python.org>
committer: vstinner <vstinner@python.org>
date: 2024-04-09T18:26:35+02:00
summary:

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.

files:
M Doc/whatsnew/3.13.rst

diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index d971beb27bbf27..d394fbe3b0c357 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`.)


_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-leave@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: list-python-checkins@lists.gossamer-threads.com