[Python-Dev] Policy for making changes to the AST (original) (raw)

Terry Reedy tjreedy at udel.edu
Tue Apr 5 01:27:25 CEST 2011


On 4/4/2011 4:05 PM, Dino Viehland wrote:

"reduce" to the core DLR nodes on-demand). We already do a huge amount of manipulation of those ASTs from optimizations (constant folding being the primary one) to re-writing them completely for things like generators or sys.settrace support and other optimizations like runtime optimized fast exception support. But our ASTs are

I meant to add that doing optimization (and other manipulations) with AST would also make it easier to borrow from other implementations.

-- Terry Jan Reedy



More information about the Python-Dev mailing list