Files
RustPython/crates/codegen
Jeong, YunWonandyouknowdot 44c905ebe3 Preserve append sequences when constant folding declines (#9276)
Collect representable constants before replacing append-sequence instructions
with NOPs. A valid LOAD_COMMON_CONSTANT may not have a ConstantData value, so
returning false must leave the helper's instruction sequence unchanged.

Cover list, set and ListToTuple tails with a direct native IR invariant.
No change to normal constant-folding behavior or canonical Lib tests.

Assisted-by: OpenAI Codex:model-version-unavailable

Co-authored-by: youknowdot <dot@youknowone.org>
2026-10-22 01:09:58 +09:00
..
2026-07-07 09:19:25 +09:00