Comment by almostgotcaught
19 hours ago
> it's working at the source code level rather than the AST level.
this (lexing) is the only use of the codec hack - if you want to manipulate the AST you do not need this and can just to `ast.parse` and then recompile the function.
Indeed; the goto hack works that way (and uses a decorator to make it easier to invoke the AST-manipulation logic).