Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
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
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Segfault on frame.f_back when frame is created with PyFrame_New() #99110
Initialize frame->previous in _PyFrame_InitializeSpecials.
Fixing Python file whitespace. (patchcheck)
when initializing the frame object
_PyInterpreterFrame.previous gets initialized when the frame is linked into the frame stack. I'd rather not add extra code to _PyFrame_InitializeSpecials, as it is performance critical.
Move initialization of frame->previous to init_frame.
Add frame_new function to _testcapimodule.c.
Merge branch 'main' into fix-issue-99110
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
Update Misc/NEWS.d/next/Core and Builtins/2022-12-12-01-05-16.gh-issu…
: Initialize frame->previous in init_frame to fix segm…
Merged main into regmachine branch (
PyFrame_GetBack segfaults if called in a sys.settrace hook on 3.11.1 #100536
Python 3.11 crashes in some cases when loguru.logger.exception called Delgan/loguru#775