diff options
author | Petr Viktorin <encukou@gmail.com> | 2020-02-06 14:48:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 14:48:27 (GMT) |
commit | 3f563cea567fbfed9db539ecbbacfee2d86f7735 (patch) | |
tree | d7817605e6d152770f680bcffb03fe04bef50c7c /Misc | |
parent | d2f96672642cc51b92f61b951ca1b11d615c12d1 (diff) | |
download | cpython-3f563cea567fbfed9db539ecbbacfee2d86f7735.zip cpython-3f563cea567fbfed9db539ecbbacfee2d86f7735.tar.gz cpython-3f563cea567fbfed9db539ecbbacfee2d86f7735.tar.bz2 |
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
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2020-01-07-13-46-40.bpo-39245.G7wog6.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-01-07-13-46-40.bpo-39245.G7wog6.rst b/Misc/NEWS.d/next/C API/2020-01-07-13-46-40.bpo-39245.G7wog6.rst new file mode 100644 index 0000000..e5836b5 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2020-01-07-13-46-40.bpo-39245.G7wog6.rst @@ -0,0 +1,5 @@ +The Vectorcall API (PEP 590) was made public, adding the functions +``PyObject_Vectorcall``, ``PyObject_VectorcallMethod``, +``PyVectorcall_Function``, ``PyObject_CallOneArg``, +``PyObject_CallMethodNoArgs``, ``PyObject_CallMethodOneArg``, +``PyObject_FastCallDict``, and the flag ``Py_TPFLAGS_HAVE_VECTORCALL``. |