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 — Merge the `GET_ITER` and `GET_YIELD_FROM_ITER` instructions · Issue #145667 · python/cpython

Merge the GET_ITER and GET_YIELD_FROM_ITER instructions #145667

New issue
Copy link
New issue
Copy link
Closed
Closed
Merge the GET_ITER and GET_YIELD_FROM_ITER instructions#145667
Copy link
Labels
3.15bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagePerformance or resource usagetopic-JIT

Description

@markshannon
markshannon
opened on Mar 9, 2026
Issue body actions

Merging GET_ITER and GET_YIELD_FROM_ITER will allow optimizations applied to for loops for common types like lists to also be applied to yield from loops and allow better specialization of SEND improving JIT coverage.

To merge the two instructions, SEND will have to be modified to take an extra NULL input.

This is part of #145047

Linked PRs

  • GH-145667: Merge GET_ITER and GET_YIELD_FROM_ITER #146120
  • gh-145667: Update dis docs for GET_ITER, FOR_ITER and SEND changes #161867

Activity

  1. markshannon
    added
    performancePerformance or resource usagePerformance or resource usage
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    topic-JIT
    3.15bugs and security fixesbugs and security fixes
    on Mar 9, 2026
  2. markshannon
    added a commit that references this issue on Mar 21, 2026

    GH-145667: Merge `GET_ITER` and `GET_YIELD_FROM_ITER` (GH-146120)

    879c85f
  3. CuriousLearner
    added a commit that references this issue on Mar 22, 2026

    Merge remote-tracking branch 'upstream/main' into fix-pythongh-138577

    2691ad9
  4. markshannon
    closed this as completedon Mar 24, 2026
  5. ljfp
    added a commit that references this issue on Apr 25, 2026

    pythonGH-145667: Merge `GET_ITER` and `GET_YIELD_FROM_ITER` (pythonGH…

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.15bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagePerformance or resource usagetopic-JIT

    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.