FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-105481: combine regen-opcode-targets with regen-opcode to avoid calculating the specialized opcodes in two places by iritkatriel · Pull Request #107540 · python/cpython · GitHub

Repository navigation

gh-105481: combine regen-opcode-targets with regen-opcode to avoid calculating the specialized opcodes in two places - #107540

Merged
iritkatriel merged 3 commits into
python:mainfrom
iritkatriel:opcode_targets1
Aug 1, 2023
Merged

iritkatriel merged 3 commits into
python:mainfrom
iritkatriel:opcode_targets1

Conversation

iritkatriel commented Aug 1, 2023 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

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

gvanrossum 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nice!

iritkatriel merged commit 2bd04d4 into python:main Aug 1, 2023
iritkatriel deleted the opcode_targets1 branch November 13, 2023 15:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL