Skip to content

GH-98831: Remove redundant extract_cases.py script #99065

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 1 commit into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 0 additions & 6 deletions Tools/cases_generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ What's currently here:
- `generate_cases.py`: driver script to read `Python/bytecodes.c` and
write `Python/generated_cases.c.h`

**Temporarily also:**

- `extract_cases.py`: script to extract cases from
`Python/ceval.c` and write them to `Python/bytecodes.c`
- `bytecodes_template.h`: template used by `extract_cases.py`

The DSL for the instruction definitions in `Python/bytecodes.c` is described
[here](https://github.com/faster-cpython/ideas/blob/main/3.12/interpreter_definition.md).
Note that there is some dummy C code at the top and bottom of the file
Expand Down
85 changes: 0 additions & 85 deletions Tools/cases_generator/bytecodes_template.c

This file was deleted.

247 changes: 0 additions & 247 deletions Tools/cases_generator/extract_cases.py

This file was deleted.