Skip to content

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

Closed

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

Activity

  1. self-assigned this
    on May 1, 2025
  2. added a commit that references this issue on May 8, 2025
  3. Fidget-Spinner commented on May 8, 2025

    @Fidget-Spinner
    Member

    Thanks Tomas!

  4. added a commit that references this issue on Jul 12, 2025
  5. added a commit that references this issue on Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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