-
-
Notifications
You must be signed in to change notification settings - Fork 32k
The tp_dictoffset and Py_TPFLAGS_MANAGED_WEAKREF flag #129912
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
docs
Documentation in the Doc dir
Comments
I agree that it looks like a typo (cc @vstinner) |
isatyamks
added a commit
to isatyamks/cpython
that referenced
this issue
Feb 12, 2025
isatyamks
added a commit
to isatyamks/cpython
that referenced
this issue
Feb 12, 2025
isatyamks
added a commit
to isatyamks/cpython
that referenced
this issue
Feb 12, 2025
isatyamks
added a commit
to isatyamks/cpython
that referenced
this issue
Feb 12, 2025
colesbury
pushed a commit
that referenced
this issue
Feb 12, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Feb 12, 2025
…h-130044) (cherry picked from commit 791cdfe) Co-authored-by: Satyam Kumar <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Feb 12, 2025
…h-130044) (cherry picked from commit 791cdfe) Co-authored-by: Satyam Kumar <[email protected]>
This was referenced Feb 12, 2025
colesbury
pushed a commit
that referenced
this issue
Feb 12, 2025
) (gh-130060) (cherry picked from commit 791cdfe) Co-authored-by: Satyam Kumar <[email protected]>
colesbury
pushed a commit
that referenced
this issue
Feb 12, 2025
) (gh-130059) (cherry picked from commit 791cdfe) Co-authored-by: Satyam Kumar <[email protected]>
This is fixed now. Thanks for the bug report @nybblista and the PR @isatyamks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the
tp_dictoffset
slot documentation:I think the
Py_TPFLAGS_MANAGED_WEAKREF
flag is being used incorrectly in this context. Do you mean thePy_TPFLAGS_MANAGED_DICT
flag?https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_dictoffset
Linked PRs
Py_TPFLAGS_MANAGED_DICT
(gh-130044) #130059Py_TPFLAGS_MANAGED_DICT
(gh-130044) #130060The text was updated successfully, but these errors were encountered: