mirror of
https://github.com/python/cpython.git
synced 2025-10-27 16:57:08 +00:00
gh-105107: Remove PyCFunction_Call() function (#105181)
* Keep the function in the stable ABI. * Add unit tests on PyCFunction_Call() since it remains supported in the stable ABI.
This commit is contained in:
parent
7f5afecfd7
commit
27f9491c60
8 changed files with 40 additions and 6 deletions
1
Doc/data/stable_abi.dat
generated
1
Doc/data/stable_abi.dat
generated
|
|
@ -43,7 +43,6 @@ function,PyBytes_Size,3.2,,
|
|||
var,PyBytes_Type,3.2,,
|
||||
type,PyCFunction,3.2,,
|
||||
type,PyCFunctionWithKeywords,3.2,,
|
||||
function,PyCFunction_Call,3.2,,
|
||||
function,PyCFunction_GetFlags,3.2,,
|
||||
function,PyCFunction_GetFunction,3.2,,
|
||||
function,PyCFunction_GetSelf,3.2,,
|
||||
|
|
|
|||
|
|
@ -373,6 +373,7 @@ Removed
|
|||
:c:func:`PyTuple_New(0) <PyTuple_New>`.
|
||||
* ``PyEval_CallFunction()``: use :c:func:`PyObject_CallFunction` instead.
|
||||
* ``PyEval_CallMethod()``: use :c:func:`PyObject_CallMethod` instead.
|
||||
* ``PyCFunction_Call()``: use :c:func:`PyObject_Call` instead.
|
||||
|
||||
(Contributed by Victor Stinner in :gh:`105107`.)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue