diff options
author | Inada Naoki <songofacandy@gmail.com> | 2020-06-25 23:07:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 23:07:22 (GMT) |
commit | 6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed (patch) | |
tree | b5e8c8e1c6f671b1f39078d0a7dbce48fe307f25 /Doc/whatsnew | |
parent | 77ed29b2c2742b694cac6db5976afc31b58e4803 (diff) | |
download | cpython-6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed.zip cpython-6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed.tar.gz cpython-6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed.tar.bz2 |
bpo-41103: Remove old buffer protocol support (#21117)
They are deprecated since Python 3.0.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.10.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 8995845..060d5de 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -204,3 +204,8 @@ Porting to Python 3.10 Removed ------- + +* ``PyObject_AsCharBuffer()``, ``PyObject_AsReadBuffer()``, ``PyObject_CheckReadBuffer()``, + and ``PyObject_AsWriteBuffer()`` are removed. Please migrate to new buffer protocol; + :c:func:`PyObject_GetBuffer` and :c:func:`PyBuffer_Release`. + (Contributed by Inada Naoki in :issue:`41103`. |