Skip to content

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

Merged
ZeroIntensity merged 2 commits intopython:mainfrom
eendebakpt:pydict_copy_docs
Feb 26, 2026
Merged

gh-141510: Update PyDict_Copy documentation with note on frozendict#145249
ZeroIntensity merged 2 commits intopython:mainfrom
eendebakpt:pydict_copy_docs

Conversation

@eendebakpt
Copy link
Copy Markdown
Contributor

@eendebakpt eendebakpt commented Feb 26, 2026

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
Copy link
Copy Markdown
Member

vstinner commented Mar 4, 2026

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