3 ms·
The only major changes that I'm aware of since python3 has been the change with keyword arguments in 3.6, and the deprecation of Index and introduction of Const
by tusharsadhwani 5y ago
The only major changes that I'm aware of since python3 has been the change with keyword arguments in 3.6, and the deprecation of Index and introduction of Constant more recently. Those are big changes, but relatively small and maintainable imo. What challenges have you faced?
- masklinn 5y ago> the deprecation of Index and introduction of Constant more recently. The introduction of Constant also deprecated everything it replaced (Str, Num, Bytes, and NameConstant). There's also the introduction of f-strings (ast'd as JoinedStr), various nodes being duplicated for their async version. Probably more relevant to automatically discovering signatures would be the addition of positional-only arguments to the `arguments` object. But messing with the AST is definitely a lot more stable than messing with the bytecode.