diff options
author | Inada Naoki <songofacandy@gmail.com> | 2021-07-29 10:46:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 10:46:47 (GMT) |
commit | ce5e1a6809b714eb0383219190a076d9f883e008 (patch) | |
tree | a28ab28d295952746ff8bfe71b26e56b1d4acc95 /Doc/data | |
parent | d542742128b634264d5b6796297613975211b43b (diff) | |
download | cpython-ce5e1a6809b714eb0383219190a076d9f883e008.zip cpython-ce5e1a6809b714eb0383219190a076d9f883e008.tar.gz cpython-ce5e1a6809b714eb0383219190a076d9f883e008.tar.bz2 |
bpo-41103: Resurrect the old buffer protocol. (GH-27437)
Revert "bpo-41103: Remove old buffer protocol support (#21117)"
This reverts commit 6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed.
Diffstat (limited to 'Doc/data')
-rw-r--r-- | Doc/data/refcounts.dat | 18 | ||||
-rw-r--r-- | Doc/data/stable_abi.dat | 4 |
2 files changed, 22 insertions, 0 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat index 8fd6c7b..9b5c005 100644 --- a/Doc/data/refcounts.dat +++ b/Doc/data/refcounts.dat @@ -1571,6 +1571,21 @@ PyOS_FSPath:PyObject*:path:0: PyObject_ASCII:PyObject*::+1: PyObject_ASCII:PyObject*:o:0: +PyObject_AsCharBuffer:int::: +PyObject_AsCharBuffer:PyObject*:obj:0: +PyObject_AsCharBuffer:const char**:buffer:: +PyObject_AsCharBuffer:Py_ssize_t*:buffer_len:: + +PyObject_AsReadBuffer:int::: +PyObject_AsReadBuffer:PyObject*:obj:0: +PyObject_AsReadBuffer:const void**:buffer:: +PyObject_AsReadBuffer:Py_ssize_t*:buffer_len:: + +PyObject_AsWriteBuffer:int::: +PyObject_AsWriteBuffer:PyObject*:obj:0: +PyObject_AsWriteBuffer:void**:buffer:: +PyObject_AsWriteBuffer:Py_ssize_t*:buffer_len:: + PyObject_Bytes:PyObject*::+1: PyObject_Bytes:PyObject*:o:0: @@ -1606,6 +1621,9 @@ PyObject_CallObject:PyObject*:args:0: PyObject_CheckBuffer:int::: PyObject_CheckBuffer:PyObject*:obj:0: +PyObject_CheckReadBuffer:int::: +PyObject_CheckReadBuffer:PyObject*:o:0: + PyObject_DelAttr:int::: PyObject_DelAttr:PyObject*:o:0: PyObject_DelAttr:PyObject*:attr_name:0: diff --git a/Doc/data/stable_abi.dat b/Doc/data/stable_abi.dat index c7dde01..4938459 100644 --- a/Doc/data/stable_abi.dat +++ b/Doc/data/stable_abi.dat @@ -462,7 +462,10 @@ function,PyOS_strtoul,3.2, function,PyOS_vsnprintf,3.2, type,PyObject,3.2, function,PyObject_ASCII,3.2, +function,PyObject_AsCharBuffer,3.2, function,PyObject_AsFileDescriptor,3.2, +function,PyObject_AsReadBuffer,3.2, +function,PyObject_AsWriteBuffer,3.2, function,PyObject_Bytes,3.2, function,PyObject_Call,3.2, function,PyObject_CallFunction,3.2, @@ -472,6 +475,7 @@ function,PyObject_CallMethodObjArgs,3.2, function,PyObject_CallNoArgs,3.10, function,PyObject_CallObject,3.2, function,PyObject_Calloc,3.7, +function,PyObject_CheckReadBuffer,3.2, function,PyObject_ClearWeakRefs,3.2, function,PyObject_DelItem,3.2, function,PyObject_DelItemString,3.2, |