Louie Lu added the comment: Provide a recursive way to compare AST nodes, it will compare with fields, but no attributes.
The performance compare with ast.dump methods in unittest # Recursive compare ./python -m unittest test.test_ast.ASTCompareTest ...... ---------------------------------------------------------------------- Ran 6 tests in 0.669s OK # ast.dump compare ./python -m unittest test.test_ast.ASTCompareTest ...... ---------------------------------------------------------------------- Ran 6 tests in 2.192s ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15987> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com