summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorWenzel Jakob <wenzel.jakob@epfl.ch>2022-11-06 22:54:55 (GMT)
committerGitHub <noreply@github.com>2022-11-06 22:54:55 (GMT)
commit57a405213cd7565b7c327b594378e22a5fb2817e (patch)
treeb06aa9494174036d6fb234efb6c5d72cfa9a9b0d /Doc/whatsnew
parentbd221c01ddcd2cad102133611fab3569a99680b0 (diff)
downloadcpython-57a405213cd7565b7c327b594378e22a5fb2817e.zip
cpython-57a405213cd7565b7c327b594378e22a5fb2817e.tar.gz
cpython-57a405213cd7565b7c327b594378e22a5fb2817e.tar.bz2
gh-98586: Add What's New entry and update docs (#99056)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.12.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index fb28d67..53c72e9 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -677,6 +677,18 @@ New Features
``__dict__`` and weakrefs with less bookkeeping,
using less memory and with faster access.
+* API for performing calls using
+ :ref:`the vectorcall protocol <vectorcall>` was added to the
+ :ref:`Limited API <stable>`:
+
+ * :c:func:`PyObject_Vectorcall`
+ * :c:func:`PyObject_VectorcallMethod`
+ * :const:`PY_VECTORCALL_ARGUMENTS_OFFSET`
+
+ This means that both the incoming and outgoing ends of the vector call
+ protocol are now available in the :ref:`Limited API <stable>`. (Contributed
+ by Wenzel Jakob in :gh:`98586`.)
+
* Added two new public functions,
:c:func:`PyEval_SetProfileAllThreads` and
:c:func:`PyEval_SetTraceAllThreads`, that allow to set tracing and profiling