FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-145749: Optimize named exception blocks by brijkapadia · Pull Request #145983 · python/cpython · GitHub

/ cpython Public

gh-145749: Optimize named exception blocks - #145983

Open
brijkapadia wants to merge 5 commits into
python:mainfrom
brijkapadia:named-exception
Open

gh-145749: Optimize named exception blocks#145983
brijkapadia wants to merge 5 commits into
python:mainfrom
brijkapadia:named-exception

Conversation

brijkapadia commented Mar 15, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Instead of using LOAD_CONST None; STORE_FAST n; DELETE_FAST n for named exception blocks, I changed the bytecode to use PUSH_NULL; STORE_FAST n in an effort to remove the DELETE_FAST instruction.

Not sure if I need a NEWS entry

Copy link
Copy Markdown
Member

Deleting a tier 1 (base interpreter) bytecode needs a news entry.

brijkapadia marked this pull request as draft March 15, 2026 18:15

This comment was marked as off-topic.

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

github-actions Bot added the stale Stale PR or inactive for long period of time. label May 8, 2026
brijkapadia marked this pull request as ready for review July 1, 2026 02:53
github-actions Bot removed the stale Stale PR or inactive for long period of time. label Jul 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL