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

viable/strict/1789410678: [dynamo] Migrate SymNodeVariable methods to tp_methods (#195189)

发生了什么

Summary Migrate SymNodeVariable named methods onto declarative tp_methods , as in #195165 . as_integer_ratio / bit_length / conjugate / has_hint / hex / is_integer are now Method handlers (shared FX-proxy). __int__ uses the existing nb_int_impl path (named int_ so it does not shadow Python's __int__ ). Arithmetic dunders stay on number slots. call_method keeps a generic FX-proxy fallback so unlisted names still disp…

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

为什么在扩散

来源