[issue15987] Provide a way to compare AST nodes for equality recursively

Batuhan Taskaya report at bugs.python.org
Sat Mar 28 11:24:16 EDT 2020


Batuhan Taskaya <batuhanosmantaskaya at gmail.com> added the comment:

The solution to hashing used in PR 14970 was just using the default hashing function which is kind of a workaround to the real problem. I now concur with your comments. Will try to draft out an `ast.compare` function.

----------
nosy: +BTaskaya

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue15987>
_______________________________________


More information about the Python-bugs-list mailing list