Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Closed
Description
Documentation
Two special methods,__buffer__
and__release_buffer__
were added to Python 3.12 byPEP-688. The C API Type Object documentation for slots includestp_as_buffer
, and sub-slotsbf_getbuffer
,bf_releasebuffer
but does not refer to the Python Data Model version of those. Add the missing references.
C API Type Object:https://docs.python.org/3/c-api/typeobj.html#tp-slots
Data Model:https://docs.python.org/3/reference/datamodel.html#emulating-buffer-types
Linked PRs
- gh-132246: Add special buffer methods to C API Type Object docs #132247
- gh-132246: Add PEP 688 to C Buffer Protocol docs #132249
- [3.13] gh-132246: Add PEP 688 to C Buffer Protocol docs (GH-132249) #132282
- [3.14] gh-132246: Add special buffer methods to C API Type Object docs (gh-132247) #134426
- [3.13] gh-132246: Add special buffer methods to C API Type Object docs (gh-132247) #134427
Metadata
Metadata
Assignees
Projects
Status
Todo