Skip to content
Prev Previous commit
Next Next commit
Merge branch 'main' into pylong_asuintptr_t
  • Loading branch information
arhadthedev committed Aug 13, 2022
commit 63c9355ca41ce035a08519a938d2dbe57d2e53de
9 changes: 9 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,15 @@ New Features
:c:func:`PyLong_FromUintptr_t`.
(Contributed by Oleg Iarygin in :gh:`95417`.)

* API for creating objects that can be called using
:ref:`the vectorcall protocol <vectorcall>` was added to the
:ref:`Limited API <stable>`:

* :const:`Py_TPFLAGS_HAVE_VECTORCALL`
* :c:func:`PyVectorcall_NARGS`
* :c:func:`PyVectorcall_Call`
* :c:type:`vectorcallfunc`

* (XXX: this should be combined with :gh:`93274` when that is done)
The :const:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class
when the class's :py:meth:`~object.__call__` method is reassigned.
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.