GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Keep instruction definitions in `bytecodes.c` and `optimizer_bytecodes.c` in sync · Issue #133273 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Keep instruction definitions in bytecodes.c and optimizer_bytecodes.c in sync#133273
Copy link
Assignees
tomasr8
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancementA feature request or enhancement

Description

@tomasr8
tomasr8
opened on May 1, 2025
Issue body actions

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

  • gh-133273: Keep instruction definitions in bytecodes.c and optimizer_bytecodes.c in sync  #133320

Activity

  1. tomasr8
    added
    topic-JIT
    type-featureA feature request or enhancementA feature request or enhancement
    on May 1, 2025
  2. tomasr8
    self-assigned this
    on May 1, 2025
  3. picnixz
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on May 4, 2025
  4. Fidget-Spinner
    added a commit that references this issue on May 8, 2025

    gh-133273: Keep instruction definitions in `bytecodes.c` and `optimiz…

    3f2f59a
  5. Fidget-Spinner commented on May 8, 2025

    @Fidget-Spinner
    Fidget-Spinner
    on May 8, 2025
    Member
    More actions

    Thanks Tomas!

    Reacted by Tomas R.
  6. Fidget-Spinner
    closed this as completedon May 8, 2025
  7. Pranjal095
    added a commit that references this issue on Jul 12, 2025

    pythongh-133273: Keep instruction definitions in `bytecodes.c` and `o…

    c65de78
  8. taegyunkim
    added a commit that references this issue on Aug 4, 2025

    pythongh-133273: Keep instruction definitions in `bytecodes.c` and `o…

    123b7f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tomasr8
    tomasr8

Labels

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.