8000 gh-105481: generate op IDs from bytecode.c instead of hard coding them in opcode.py by iritkatriel · Pull Request #107971 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-105481: generate op IDs from bytecode.c instead of hard coding them in opcode.py #107971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Aug 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
assert 255 is not used
  • Loading branch information
iritkatriel committed Aug 16, 2023
commit 0d6ed4bdd78badfc9f74ead464cb626e378be07e
1 change: 1 addition & 0 deletions Tools/cases_generator/generate_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ def map_op(op, name):
for i, op in enumerate(sorted(self.pseudos)):
map_op(256 + i, op)

assert 255 not in opmap # 255 is reserved
self.opmap = opmap
self.markers = markers

Expand Down
0