]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39245: Make Vectorcall C API public (GH-17893)
authorPetr Viktorin <encukou@gmail.com>
Thu, 6 Feb 2020 14:48:27 +0000 (15:48 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2020 14:48:27 +0000 (15:48 +0100)
commit3f563cea567fbfed9db539ecbbacfee2d86f7735
treed7817605e6d152770f680bcffb03fe04bef50c7c
parentd2f96672642cc51b92f61b951ca1b11d615c12d1
bpo-39245: Make Vectorcall C API public (GH-17893)

* Add backcompat defines and move non-limited API declaration to cpython/

This partially reverts commit 2ff58a24e8a1c7e290d025d69ebaea0bbead3b8c
which added PyObject_CallNoArgs to the 3.9+ stable ABI. This should not
be done; there are enough other call APIs in the stable ABI to choose from.

* Adjust documentation

Mark all newly public functions as added in 3.9.
Add a note about the 3.8 provisional names.
Add notes on public API.

* Put PyObject_CallNoArgs back in the limited API

* Rename PyObject_FastCallDict to PyObject_VectorcallDict
Doc/c-api/call.rst
Doc/c-api/typeobj.rst
Include/cpython/abstract.h
Include/object.h
Misc/NEWS.d/next/C API/2020-01-07-13-46-40.bpo-39245.G7wog6.rst [new file with mode: 0644]