]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45459: Add Py_buffer to limited API (GH-29991)
authorChristian Heimes <christian@python.org>
Wed, 2 Feb 2022 15:03:10 +0000 (17:03 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Feb 2022 15:03:10 +0000 (07:03 -0800)
commitf66c857572a308822c70fd25e0197b6e0dec6e34
tree0014ec4456f837b05462e172655e194385e2ec61
parent08f8301b21648d58d053e1a513db8ed32fbf37dd
 bpo-45459: Add Py_buffer to limited API (GH-29991)

- [x] ``Py_buffer`` struct
- [x] ``PyBuffer_*()`` API functions
- [x] ``PyBUF_*`` constants
- [x] ``Py_bf_getbuffer`` and ``Py_bf_releasebuffer`` type slots
- [x] ``PyMemoryView_FromBuffer()`` API
- [x] tests for limited API
- [x] ``make regen-limited-abi``
- [x] documentation update
- [ ] export ``PyPickleBuffer*()`` API ???
17 files changed:
Doc/c-api/buffer.rst
Doc/c-api/type.rst
Doc/data/stable_abi.dat
Doc/whatsnew/3.11.rst
Include/Python.h
Include/buffer.h [new file with mode: 0644]
Include/cpython/abstract.h
Include/cpython/object.h
Include/memoryobject.h
Include/typeslots.h
Lib/test/test_stable_abi_ctypes.py
Lib/test/test_xxlimited.py
Makefile.pre.in
Misc/NEWS.d/next/C API/2021-10-18-16-54-24.bpo-45459.Y1pEZs.rst [new file with mode: 0644]
Misc/stable_abi.txt
Modules/xxlimited.c
PC/python3dll.c