viable/strict/1788209416: [dynamo] Migrate DictBuiltinVariable.fromkeys to tp_methods (#195181)
- PyTorch 近 90 天出现 329 次
- PyTorch 近 90 天第 326 次发版
- 上一次:同一天稍早 · viable/strict/1788208014: Revert "Port 3 distributed/_shard tests to Intel GPU. (#189337)"
发生了什么
Summary Part of the VariableTracker migration tracked in #195165 . Move DictBuiltinVariable.fromkeys from an ad-hoc call_method branch onto the declarative tp_methods table. ListBuiltinVariable is unchanged: its remaining call_method logic is only __new__ , which the issue intentionally leaves out of tp_methods (tp_new slot). Unbound dict method forwarding ( dict.update(d, ...) , etc.) stays in call_method because i…
摘要按规则整理自下方来源原文