viable/strict/1789881973: [dynamo] Support delattr on exception attributes (#196722)
- PyTorch 近 90 天出现 1229 次
- PyTorch 近 90 天第 1215 次发版
- 上一次:同一天稍早 · ciflow/trunk/197767: [UPDATE] Update
发生了什么
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…
摘要按规则整理自下方来源原文