Skip to content

Keep instruction definitions in bytecodes.c and optimizer_bytecodes.c in sync #133273

Closed
@tomasr8

Description

@tomasr8

Feature or enhancement

Proposal:

Context: #132940 (comment)

[...] In fact, it was always my intention to validate it, but if you check out the validation function in Tools/cases_generator/optimizer_generator.py, it says TODO 😉 . I just had no time to get around to do it.

This is the TODO: https://github.com/python/cpython/blob/main/Tools/cases_generator/optimizer_generator.py#L33

I already have something somewhat working, will try to open a PR tomorrow :)

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

#132940 (comment)

Linked PRs

Metadata

Metadata

Assignees

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions