← 返回事件
持续讨论AI发版

trunk/89bc0292173a1dd881d27616f60c2001eecc792c: [dynamo] Support delattr on exception attributes (#196722)

图:PyTorch Releases

发生了什么

Dynamo already models special BaseException attributes like args , __traceback__ , __cause__ , and __context__ , including the errors CPython raises when code tries to delete them. However, delattr(exc, name) on those attributes was not routed through that existing logic, so Dynamo reported it as unsupported. This change sends exception __delattr__ calls for modeled attributes through the same path used by the exist…

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

为什么在扩散

来源