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: Check argument in PyDict_MergeFromSeq2()#145082

Merged
vstinner merged 1 commit into
python:mainpython/cpython:mainfrom
vstinner:frozendict_mergefromseq2vstinner/cpython:frozendict_mergefromseq2Copy head branch name to clipboard
Feb 21, 2026
Merged

gh-141510: Check argument in PyDict_MergeFromSeq2()#145082
vstinner merged 1 commit into
python:mainpython/cpython:mainfrom
vstinner:frozendict_mergefromseq2vstinner/cpython:frozendict_mergefromseq2Copy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Feb 21, 2026

Copy link
Copy Markdown
Member

PyDict_MergeFromSeq2() now fails with SystemError if the first argument is not a dict or a dict subclass.

PyDict_Update(), PyDict_Merge() and _PyDict_MergeEx() no longer accept frozendict.

PyDict_MergeFromSeq2() now fails with SystemError if the first
argument is not a dict or a dict subclass.

PyDict_Update(), PyDict_Merge() and _PyDict_MergeEx() no longer
accept frozendict.
@vstinner vstinner merged commit 6940c1d into python:main Feb 21, 2026
49 checks passed
@vstinner vstinner deleted the frozendict_mergefromseq2 branch February 21, 2026 16:21
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
)

PyDict_MergeFromSeq2() now fails with SystemError if the first
argument is not a dict or a dict subclass.

PyDict_Update(), PyDict_Merge() and _PyDict_MergeEx() no longer
accept frozendict.
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
)

PyDict_MergeFromSeq2() now fails with SystemError if the first
argument is not a dict or a dict subclass.

PyDict_Update(), PyDict_Merge() and _PyDict_MergeEx() no longer
accept frozendict.
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.

1 participant

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