Skip to content

[3.15] gh-157468: Validate correct builtins used under JIT (GH-157766) - #159048

Open
johng wants to merge 1 commit into
python:3.15from
johng:backport-0906d2a-3.15
Open

johng wants to merge 1 commit into
python:3.15from
johng:backport-0906d2a-3.15

Conversation

@johng

@johng johng commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor
  • Expose two possible builtin JIT gaps

  • Add trace and runtime guard for builtin dict

  • Check _GUARD_BUILTINS_IS_CANONICAL once per frame

  • Add check and fix for globals being folded
    (cherry picked from commit 0906d2a)

Co-authored-by: John me@joh.ng

Manual backport: the only conflict was in the generated Include/internal/pycore_uop_ids.h; resolved by running make regen-cases on 3.15.

…honGH-157766)

* Expose two possible builtin JIT gaps

* Add trace and runtime guard for builtin dict

* Check _GUARD_BUILTINS_IS_CANONICAL once per frame

* Add check and fix for globals being folded
(cherry picked from commit 0906d2a)

Co-authored-by: John <me@joh.ng>
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