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

gh-141510: Update PyDict_Copy documentation with note on frozendict#145249

Merged
ZeroIntensity merged 2 commits into
python:mainpython/cpython:mainfrom
eendebakpt:pydict_copy_docseendebakpt/cpython:pydict_copy_docsCopy head branch name to clipboard
Feb 26, 2026
Merged

gh-141510: Update PyDict_Copy documentation with note on frozendict#145249
ZeroIntensity merged 2 commits into
python:mainpython/cpython:mainfrom
eendebakpt:pydict_copy_docseendebakpt/cpython:pydict_copy_docsCopy head branch name to clipboard

Conversation

@eendebakpt

@eendebakpt eendebakpt commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

Comment thread Doc/c-api/dict.rst Outdated
@ZeroIntensity ZeroIntensity merged commit 4401f23 into python:main Feb 26, 2026
33 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Feb 26, 2026
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
@vstinner

vstinner commented Mar 4, 2026

Copy link
Copy Markdown
Member

I'm not sure that it's a good idea to return a frozendict if PyDict_Copy() is called on a frozendict.

I wrote #145517 to change PyDict_Copy() API to always return a dict.

ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
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.

3 participants

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