FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-139852: Add PyObject_GetDict() function by vstinner · Pull Request #139968 · python/cpython · GitHub

Repository navigation

gh-139852: Add PyObject_GetDict() function - #139968

Closed
vstinner wants to merge 7 commits into
python:mainfrom
vstinner:object_getdict
Closed

vstinner wants to merge 7 commits into
python:mainfrom
vstinner:object_getdict

Conversation

vstinner commented Oct 11, 2025 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member Author

The function is similar to PyObject_GenericGetDict() but has a different API and doesn't raise an exception if the __dict__ doesn't exist.

Comment thread Doc/c-api/object.rst
Comment thread Doc/c-api/object.rst Outdated
Comment thread Doc/whatsnew/3.15.rst Outdated

encukou commented Oct 15, 2025

Copy link
Copy Markdown
Member

For the docs I propose the wording here: vstinner#11

Copy link
Copy Markdown
Member Author

I created capi-workgroup/decisions#82 for the C API Working Group.

Copy link
Copy Markdown
Member Author

I 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 Nov 17, 2025
vstinner deleted the object_getdict branch December 3, 2025 15:36
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL