8000 gh-101169: reduce the implementation of except* by one bytecode instruction by iritkatriel · Pull Request #101170 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-101169: reduce the implementation of except* by one bytecode instruction #101170

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 1 commit into from
Jan 19, 2023

Conversation

iritkatriel
Copy link
Member
@iritkatriel iritkatriel commented Jan 19, 2023

Fixes #101169.

Instead of

COPY 1
BUILD_LIST
SWAP 2

do

BUILD_LIST
COPY 2

@iritkatriel iritkatriel merged commit 9ec9b20 into python:main Jan 19, 2023
@iritkatriel iritkatriel deleted the remove_one_op branch April 3, 2023 17:48
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.

minor optimization in the implementation of except*
3 participants
0