summaryrefslogtreecommitdiffstats
path: root/Misc/stable_abi.txt
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2021-07-29 10:46:47 (GMT)
committerGitHub <noreply@github.com>2021-07-29 10:46:47 (GMT)
commitce5e1a6809b714eb0383219190a076d9f883e008 (patch)
treea28ab28d295952746ff8bfe71b26e56b1d4acc95 /Misc/stable_abi.txt
parentd542742128b634264d5b6796297613975211b43b (diff)
downloadcpython-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 'Misc/stable_abi.txt')
-rw-r--r--Misc/stable_abi.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Misc/stable_abi.txt b/Misc/stable_abi.txt
index 62c0cdc..ba16669 100644
--- a/Misc/stable_abi.txt
+++ b/Misc/stable_abi.txt
@@ -1642,6 +1642,17 @@ function _Py_VaBuildValue_SizeT
added 3.2
abi_only
+# Old buffer protocol support (deprecated)
+
+function PyObject_AsCharBuffer
+ added 3.2
+function PyObject_AsReadBuffer
+ added 3.2
+function PyObject_AsWriteBuffer
+ added 3.2
+function PyObject_CheckReadBuffer
+ added 3.2
+
# Flags are implicitly part of the ABI:
const Py_TPFLAGS_DEFAULT