GH-93897: Store frame size in code object and de-opt if insufficient space on thread frame stack. by markshannon · Pull Request #93908 · python/cpython · GitHub

github.com

Tin mới

faster-cpython:store-code-size

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

Streamline pushing frames, by deopting if insufficient space.

Move NULL check and incref off the fast path.

Use size in frame space check. Allows multiple frames to be checked a…

Merge branch 'main' into store-code-size

awaiting core review

🔨 test-with-buildbots

View reviewed changes

Learn more about hiding disruptive comments

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

Merge branch 'main' into store-code-size

Revert 30935 defer bpo45162 to 312 (

emscripten-core/emscripten#17269

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

Drop assert, 3.11 does not have co_framesize from

[3.11] GH-93252: Fix error handling for failed Python calls (GH-94693) #94707

gh-119786: Remove mention of _PyThreadState_BumpFramePointer from InternalDocs/interpreter.md #141816