gh-139852: Add PyObject_GetDict() function by vstinner · Pull Request #139968 · python/cpython
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.3k
Closed
vstinner wants to merge 7 commits intopython:mainfrom
Closed
gh-139852: Add PyObject_GetDict() function#139968
vstinner wants to merge 7 commits intopython:mainfrom
gh-139852: Add PyObject_GetDict() function#139968
vstinner wants to merge 7 commits intopython:mainfrom
Conversation
vstinner
requested review from
AA-Turner and
ZeroIntensity
as code owners
bedevere-app
bot
added
the
awaiting core review
label
bedevere-app
bot
mentioned this pull request
Copy link
Member Author
vstinner
commented
Oct 11, 2025
vstinner commented
Oct 11, 2025The function is similar to PyObject_GenericGetDict() but has a different API and doesn't raise an exception if the __dict__ doesn't exist.
Doc/c-api/object.rst
Show resolved
Hide resolved
Doc/c-api/object.rst Show resolved Hide resolved
vstinner
mentioned this pull request
vstinner
added
the
topic-C-API
label
encukou reviewed Oct 13, 2025
Doc/c-api/object.rst
Outdated
Show resolved
Hide resolved
Doc/c-api/object.rst Outdated Show resolved Hide resolved
vstinner commented Oct 14, 2025
Doc/whatsnew/3.15.rst
Outdated
Show resolved
Hide resolved
Doc/whatsnew/3.15.rst Outdated Show resolved Hide resolved
vstinner added 3 commits
October 14, 2025 15:19Copy link
Member
encukou
commented
Oct 15, 2025
encukou commented
Oct 15, 2025For the docs I propose the wording here: vstinner#11
vstinner
mentioned this pull request
5 tasks
Copy link
Member Author
vstinner
commented
Oct 16, 2025
vstinner commented
Oct 16, 2025I created capi-workgroup/decisions#82 for the C API Working Group.
Copy link
Member Author
vstinner
commented
Nov 17, 2025
vstinner commented
Nov 17, 2025I created capi-workgroup/decisions#82 for the C API Working Group.
And the decision is to not add this function. So I close the PR.
vstinner
closed this
vstinner
deleted the
object_getdict
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment