Ordered and equality comparisons are supported between AST objects. Pickling of AST objects (using the pickle module) is also supported.
AST objects have the following methods:
compileast(ast, filename).
isexpr(ast).
issuite(ast).
ast2list(ast, line_info).
ast2tuple(ast, line_info).
See About this document... for information on suggesting changes.