I'm looking for a library that allows parsing and modification of Python 3 source code. There is the built-in ast
module, but that doesn't allow parsing Python 3 code from Python 2 and vice versa.
Is there such a library, or a way to make the ast
module recognize Python 2 code on Python 3?