Skip to content

Conversation

@mpage
Copy link
Contributor

@mpage mpage commented Jun 5, 2025

We were incorrectly handling a few opcodes that leave their operands on the stack. Treat all of these conservatively; assume that they always leave operands on the stack.

(cherry picked from commit 6b77af2)

…FAST` (python#134958)

We were incorrectly handling a few opcodes that leave their operands on the stack. Treat all of these conservatively; assume that they always leave operands on the stack.

(cherry picked from commit 6b77af2)
@mpage mpage changed the title gh-134889: Fix handling of a few opcodes when optimizing LOAD_FAST (#134958) [3.14] gh-134889: Fix handling of a few opcodes when optimizing LOAD_FAST (#134958) Jun 5, 2025
@mpage mpage requested review from Yhg1s and colesbury June 5, 2025 16:25
@mpage mpage marked this pull request as ready for review June 5, 2025 16:25
@mpage mpage merged commit be2f32e into python:3.14 Jun 5, 2025
41 checks passed
@mpage mpage deleted the backport-6b77af2-3.14 branch June 5, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants