Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python/cpython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b968417
Choose a base ref
...
head repository: eendebakpt/cpython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d2bf2d6
Choose a head ref
  • 1 commit
  • 4 files changed
  • 2 contributors

Commits on Nov 1, 2026

  1. Analyze exception handlers in optimize_load_fast

    Once the SETUP_* pseudo-instructions have been converted, exception
    handler blocks are only reachable through the per-instruction exception
    edges. optimize_load_fast() only followed jumps and fallthroughs, so the
    code in exception handlers was never considered for the LOAD_FAST to
    LOAD_FAST_BORROW conversion. Push the exception handler blocks onto the
    work list as well.
    
    END_ASYNC_FOR has a jump target that is only used for monitoring, so it
    must not be treated as a jump, like in calculate_stackdepth().
    
    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
    eendebakpt and claude committed Nov 1, 2026
    Configuration menu
    Copy the full SHA
    d2bf2d6 View commit details
    Browse the repository at this point in the history
Loading