-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Add PEP 688 special buffer methods to C API Type Object and Buffer Protocol docs #132246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
cmaloney
added a commit
to cmaloney/cpython
that referenced
this issue
Apr 7, 2025
Two special methods, __buffer__ and __release_buffer__ were added to Python 3.12 by PEP 688. The C API Type Object documentation for slots includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer` but does not refer to the Python Data Model version of those. Add the missing references.8000
cmaloney
added a commit
to cmaloney/cpython
that referenced
this issue
Apr 8, 2025
cc: @JelleZijlstra (PEP 688 Author) |
JelleZijlstra
pushed a commit
that referenced
this issue
Apr 8, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Apr 8, 2025
(cherry picked from commit 8421b64) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
seehwan
pushed a commit
to seehwan/cpython
that referenced
this issue
Apr 16, 2025
AA-Turner
pushed a commit
that referenced
this issue
May 1, 2025
ambv
pushed a commit
that referenced
this issue
May 21, 2025
…32247) Two special methods, __buffer__ and __release_buffer__ were added to Python 3.12 by PEP 688. The C API Type Object documentation for slots includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer` but does not refer to the Python Data Model version of those. Add the missing references.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 21, 2025
…pythongh-132247) Two special methods, __buffer__ and __release_buffer__ were added to Python 3.12 by PEP 688. The C API Type Object documentation for slots includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer` but does not refer to the Python Data Model version of those. Add the missing references. (cherry picked from commit b529b60) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 21, 2025
…pythongh-132247) Two special methods, __buffer__ and __release_buffer__ were added to Python 3.12 by PEP 688. The C API Type Object documentation for slots includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer` but does not refer to the Python Data Model version of those. Add the missing references. (cherry picked from commit b529b60) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
This was referenced May 21, 2025
ambv
pushed a commit
that referenced
this issue
May 21, 2025
gh-132247) (gh-134426) Two special methods, __buffer__ and __release_buffer__ were added to Python 3.12 by PEP 688. The C API Type Object documentation for slots includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer` but does not refer to the Python Data Model version of those. Add the missing references. (cherry picked from commit b529b60) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
ambv
pushed a commit
that referenced
this issue
May 21, 2025
gh-132247) (gh-134427) Two special methods, __buffer__ and __release_buffer__ were added to Python 3.12 by PEP 688. The C API Type Object documentation for slots includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer` but does not refer to the Python Data Model version of those. Add the missing references. (cherry picked from commit b529b60) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Thanks, Cody! |
lkollar
pushed a commit
to lkollar/cpython
that referenced
this issue
May 26, 2025
…pythongh-132247) Two special methods, __buffer__ and __release_buffer__ were added to Python 3.12 by PEP 688. The C API Type Object documentation for slots includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer` but does not refer to the Python Data Model version of those. Add the missing references.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Documentation
Two special methods,
__buffer__
and__release_buffer__
were added to Python 3.12 by PEP-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
The text was updated successfully, but these errors were encountered: