◐ Shell
clean mode source ↗

gh-141510: Update PyDict_Copy documentation with note on frozendict by eendebakpt · Pull Request #145249 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Sign up

Appearance settings

Conversation

@eendebakpt

@eendebakpt eendebakpt commented

Feb 26, 2026

edited by github-actions Bot

Loading

Copy link Copy Markdown

Contributor

@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

Reviewers

@ZeroIntensity ZeroIntensity ZeroIntensity approved these changes

Assignees

No one assigned

Labels

docs

Documentation in the Doc dir

skip news

Projects

Docs PRs

Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@eendebakpt @vstinner @ZeroIntensity