Skip to content

gh-145866: Convert DICT_MERGE to leave its inputs on the stack to be cleaned up by _POP_TOP - #146329

Merged
Fidget-Spinner merged 1 commit into
python:mainfrom
NekoAsakura:dict-merge-pop-top
Mar 24, 2026
Merged

Fidget-Spinner merged 1 commit into
python:mainfrom
NekoAsakura:dict-merge-pop-top

Conversation

@NekoAsakura

@NekoAsakura NekoAsakura commented Mar 23, 2026 •

Copy link
Copy Markdown
Member
@bedevere-app

bedevere-app Bot commented Mar 23, 2026

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bedevere-app

bedevere-app Bot commented Mar 23, 2026

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@Fidget-Spinner Fidget-Spinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, and welcome to CPython :)!

Comment thread Lib/test/test_capi/test_opt.py Resolved
@Fidget-Spinner

Copy link
Copy Markdown
Member

@NekoAsakura sorry, for CPython we don't force push, as all commits are squash-merged. So just do normal commits and I'll squash it at the end. Thank you!

@NekoAsakura

Copy link
Copy Markdown
Member Author

Thanks for your contribution, and welcome to CPython :)!

Thanks for the review and the warm welcome(^^)! Changes applied.

@Fidget-Spinner Fidget-Spinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@Fidget-Spinner
Fidget-Spinner merged commit 6d73bc2 into python:main Mar 24, 2026
73 checks passed
@NekoAsakura
NekoAsakura deleted the dict-merge-pop-top branch March 24, 2026 16:27
clin1234 pushed a commit to clin1234/cpython that referenced this pull request Apr 16, 2026
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

2 participants