Skip to content

[mypyc] feat: exact_dict_set_item_op - #19657

Merged
JukkaL merged 7 commits into
python:masterfrom
BobTheBuidler:exact-dict-set-item
Aug 14, 2025
Merged

JukkaL merged 7 commits into
python:masterfrom
BobTheBuidler:exact-dict-set-item

Conversation

@BobTheBuidler

Copy link
Copy Markdown
Contributor

This PR implements a exact_dict_set_item_op custom_op in preparation for the addition of exact_dict_rprimitive. We don't actually need to implement exact_dict_rprimitive before implementing this op as long as we accept that it will not be used for CallExpr specialization. This is okay for us now, as it is already addressed in the larger PR.

@JukkaL JukkaL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for splitting the original big PR. Looks good, just a few style things.

Comment thread mypyc/primitives/dict_ops.py Outdated
Comment thread mypyc/primitives/dict_ops.py Outdated
@BobTheBuidler

Copy link
Copy Markdown
Contributor Author

Thanks for your feedbacks, I've resolved both.

@BobTheBuidler
BobTheBuidler requested a review from JukkaL August 14, 2025 15:46

@JukkaL JukkaL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the quick updates, looks good now.

@JukkaL
JukkaL merged commit 766c43c into python:master Aug 14, 2025
@BobTheBuidler
BobTheBuidler deleted the exact-dict-set-item branch August 14, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants