Skip to content

[3.14] gh-134889: Fix handling of a few opcodes when optimizing LOAD_FAST (#134958) #135187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 5, 2025

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 colesbury and Yhg1s 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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy