diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-07-29 11:31:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 11:31:42 (GMT) |
commit | 6b922dae6cae9f212d678a36e8b41f2287cf5441 (patch) | |
tree | 448c93f3f2c36812f8c4eadcf7b21670b4677c12 /Doc/data | |
parent | b5bdc0c407d2d0587e591989e390ada9b9709502 (diff) | |
download | cpython-6b922dae6cae9f212d678a36e8b41f2287cf5441.zip cpython-6b922dae6cae9f212d678a36e8b41f2287cf5441.tar.gz cpython-6b922dae6cae9f212d678a36e8b41f2287cf5441.tar.bz2 |
bpo-41103: Resurrect the old buffer protocol. (GH-27437) (GH-27441)
Revert "bpo-41103: Remove old buffer protocol support (GH-21117)"
This reverts commit 6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed.
(cherry picked from commit ce5e1a6809b714eb0383219190a076d9f883e008)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
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 29cd89e..f5e2131 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 e373e23..be9225b 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, |