← 返回事件
持续讨论科技发版

viable/strict/1790888005: [dynamo] Don't let observed exceptions pin the Python stack (#197567)

发生了什么

An ObservedException that unwinds out of a tracer ends up in a reference cycle with its own traceback, and only the cyclic GC can break it. That matters because the traceback covers the entire live Python stack at the point of the raise, so until the next gc pass the cycle pins every frame below Dynamo -- including user frames and everything their locals reference. Root cause: InstructionTranslatorBase.exception_han…

摘要按规则整理自下方来源原文

为什么在扩散

来源