viable/strict/1788209416: [dynamo] Migrate DictBuiltinVariable.fromkeys to tp_methods (#195181)
- PyTorch: 317 events in the last 90 days
- PyTorch: 314th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1788208014: Revert "Port 3 distributed/_shard tests to Intel GPU. (#189337)"
What happened
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…
Summary assembled by rule from the sources below