Skip to content

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Aug 1, 2023

Python/makeopcodetargets.py (which is invoked by make regen-opcode-targets) can be replaced by a few lines added to Tools\build\generate_opcode_h.py, because most of its work is repeated there. This removes a make target and reduces code duplication.

…oid calculating the specialized opcodes in two places
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

Nice!

@iritkatriel iritkatriel merged commit 2bd04d4 into python:main Aug 1, 2023
@iritkatriel iritkatriel deleted the opcode_targets1 branch November 13, 2023 15:50
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.

4 participants