Skip to content
Prev Previous commit
Next Next commit
Cleanup post-merge discrepancies
  • Loading branch information
arhadthedev committed Aug 13, 2022
commit 70138bf970e9a305b797ba589c193cd6d8d5396a
3 changes: 1 addition & 2 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,7 @@ New Features
* :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
* The :const:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class
when the class's :py:meth:`~object.__call__` method is reassigned.
This makes vectorcall safe to use with mutable types (i.e. heap types
without the :const:`immutable <Py_TPFLAGS_IMMUTABLETYPE>` flag).
Expand Down