Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.14] gh-132246: Add special buffer methods to C API Type Object docs (gh-132247) #134426

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

Merged
merged 1 commit into from
May 21, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 21, 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.
(cherry picked from commit b529b60)

Co-authored-by: Cody Maloney cmaloney@users.noreply.github.com


📚 Documentation preview 📚: https://cpython-previews--134426.org.readthedocs.build/

…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>
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels May 21, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs May 21, 2025
@ambv ambv merged commit cd3395a into python:3.14 May 21, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news topic-C-API
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.