News for hackers. Stuff that matters.
Re:Learn Python ASTs, by building your own linter by masklinn on Wednesday December 29, 2021 @12:01PM (#29726725)
> 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.

There are no comments on this comment yet.