GH-93621: reorder code in with/async-with exception exit path to reduce the size of the exception table by iritkatriel · Pull Request #93622 · python/cpython · GitHub

github.com

Tin mới

iritkatriel:with-exception

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

reorder code in with/async-with exception exit path to reduce the siz…

awaiting core review

awaiting core review

🔨 test-with-buildbots

🔨 test-with-buildbots

Reduce exception table size by 1 entry for every with-block faster-cpython/ideas#409

📜🤖 Added by blurb_it.

add direct dis tests for with and async-with

add some checks for the exception table in dis output

Merge remote-tracking branch 'upstream/main' into with-exception

update tests after merge

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Revert 30935 defer bpo45162 to 312 (

emscripten-core/emscripten#17269

https://github.com/python/cpython/issue/89336

Reorder instructions in with/async-with exception handler to reduce the size of the exception table.

Successfully merging this pull request may close these issues.