GH-96421: Insert shim frame on entry to interpreter by markshannon · Pull Request #96319 · python/cpython · GitHub

github.com

Tin mới

faster-cpython:entry-frame

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

Insert shim frames at entries points to the interpreter. #96421

Handle _PyEval_EvalFrameDefault exit in bytecode.

Merge branch 'main' into entry-frame

Get entry frame shim working.

awaiting core review

awaiting core review

Delay destruction of trampoline code object and make symbol private

Make sure that previous never points into the C stack after return.

Use explicit stacksize in _Py_MakeTrampoline. Allow interpreter to cl…

Move assert before use.

Merge branch 'main' into entry-frame

Merge branch 'main' into entry-frame

More on-stack C structs into a big struct and add sentinels, as we wa…

Skip a test if ASAN is turned on.

Specialization of generator iteration and coroutine await faster-cpython/ideas#457

Remove extra semicolons.

Merge branch 'main' into entry-frame

View reviewed changes

Merge branch 'main' into entry-frame

Enable specialization of iteration over generators, for gen():, and awaiting coroutines, await coro() #96793

Halve the number of writes for shim frame.

Remove one more write to shim frame.

GH-96421: Don't keep local copies of first_instr, names and consts in the interpreter. #96847

GH-96421: Introduce cleanup contexts for inlined frames #98795

View reviewed changes

Learn more about hiding disruptive comments

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

GH-96793: Specialize FOR_ITER for generators. #98772

Lib/test/test_subprocess.py

Address review comments

Merge branch 'main' into entry-frame

Post merge cleanup