Skip to content

GH-150478: Add "show_jit" option to dis.dis to show jit entry points#150554

Open
markshannon wants to merge 1 commit into
python:mainfrom
markshannon:dis-show-jit
Open

GH-150478: Add "show_jit" option to dis.dis to show jit entry points#150554
markshannon wants to merge 1 commit into
python:mainfrom
markshannon:dis-show-jit

Conversation

@markshannon
Copy link
Copy Markdown
Member

@markshannon markshannon commented May 28, 2026

Adds a show_jit optional parameter to dis.dis.
When set (and adaptive also set) changes the output from this:

       L1:     FOR_ITER_RANGE           3 (to L2)
               STORE_FAST               1 (i)
               JUMP_BACKWARDS_JIT       5 (to L1)

to this (assuming the JIT is active):

       L1:     FOR_ITER_RANGE           3 (to L2)
               STORE_FAST               1 (i)
               ENTER_EXECUTOR           0

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant