8000 gh-129912: Fix documentation to correct references to Py_TPFLAGS_MANAGED_DICT in… by isatyamks · Pull Request #130044 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-129912: Fix documentation to correct references to Py_TPFLAGS_MANAGED_DICT in… #130044

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 6 commits into from
Feb 12, 2025

Conversation

isatyamks
Copy link
Contributor
@isatyamks isatyamks commented Feb 12, 2025

gh-129912: The documentation incorrectly states that setting both Py_TPFLAGS_MANAGED_WEAKREF and tp_dictoffset is an error. However, the correct flag should be Py_TPFLAGS_MANAGED_DICT instead of Py_TPFLAGS_MANAGED_WEAKREF.

This is a minor documentation fix and does not impact runtime behavior.


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

@ghost
Copy link
ghost commented Feb 12, 2025

All commit authors signed the Contributor License Agreement.
CLA signed

@colesbury
Copy link
Contributor

Thanks!

@colesbury colesbury added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Feb 12, 2025
@colesbury colesbury merged commit 791cdfe into python:main Feb 12, 2025
32 checks passed
@miss-islington-app
Copy link

Thanks @isatyamks for the PR, and @colesbury for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 12, 2025
…h-130044)

(cherry picked from commit 791cdfe)

Co-authored-by: Satyam Kumar <isatyamks@gmail.com>
@bedevere-app
Copy link
bedevere-app bot commented Feb 12, 2025

GH-130059 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Feb 12, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 12, 2025
…h-130044)

(cherry picked from commit 791cdfe)

Co-authored-by: Satyam Kumar <isatyamks@gmail.com>
@bedevere-app
Copy link
bedevere-app bot commented Feb 12, 2025

GH-130060 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Feb 12, 2025
colesbury pushed a commit that referenced this pull request Feb 12, 2025
) (gh-130060)

(cherry picked from commit 791cdfe)

Co-authored-by: Satyam Kumar <isatyamks@gmail.com>
colesbury pushed a commit that referenced this pull request Feb 12, 2025
) (gh-130059)

(cherry picked from commit 791cdfe)

Co-authored-by: Satyam Kumar <isatyamks@gmail.com>
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
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants
0