Skip to content

gh-141510: Fix frozendict.fromkeys() for dict subclasses - #144962

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:frozendict_fromkeys_dict
Feb 18, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:frozendict_fromkeys_dict

Conversation

@vstinner

@vstinner vstinner commented Feb 18, 2026 •

Copy link
Copy Markdown
Member

Copy also the dictionary if a dict subclass returns a frozendict.

Copy also the dictionary if a dict subclass returns a frozendict.
@vstinner
vstinner requested a review from methane as a code owner February 18, 2026 16:18
@vstinner
vstinner merged commit 16ccdbc into python:main Feb 18, 2026
45 checks passed
@vstinner
vstinner deleted the frozendict_fromkeys_dict branch February 18, 2026 17:03
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
…n#144962)

Copy also the dictionary if a dict subclass returns a frozendict.
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
…n#144962)

Copy also the dictionary if a dict subclass returns a frozendict.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant